Update config/packages
This commit is contained in:
parent
034345b29f
commit
7395f859a9
1184
package-lock.json
generated
1184
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -2,17 +2,18 @@
|
||||
"name": "quartznet",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "svelte-kit dev",
|
||||
"build": "svelte-kit build",
|
||||
"preview": "svelte-kit preview"
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-static": "^1.0.0-next.13",
|
||||
"@sveltejs/adapter-static": "^1.0.0-next.39",
|
||||
"@sveltejs/kit": "next",
|
||||
"svelte": "^3.44.0",
|
||||
"svelte-preprocess": "^4.10.1",
|
||||
"svelte": "^3.46.0",
|
||||
"svelte-preprocess": "^4.10.6",
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "~4.6.2"
|
||||
"typescript": "^4.6.4",
|
||||
"vite": "^3.0.9"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
@ -11,9 +11,9 @@
|
||||
<!-- <link rel="manifest" href="manifest.json" crossorigin="use-credentials"> -->
|
||||
<link rel="icon" type="image/png" href="/img/favicon.ico">
|
||||
|
||||
%svelte.head%
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body>
|
||||
<div id="svelte">%svelte.body%</div>
|
||||
<div id="svelte">%sveltekit.body%</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5,6 +5,9 @@ import preprocess from 'svelte-preprocess';
|
||||
const config = {
|
||||
preprocess: preprocess(),
|
||||
kit: {
|
||||
prerender: {
|
||||
default: true
|
||||
},
|
||||
adapter: adapter({
|
||||
pages: 'build'
|
||||
})
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
// "extends": "./.svelte-kit/tsconfig.json",
|
||||
"extends": "./.svelte-kit/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
|
8
vite.config.js
Normal file
8
vite.config.js
Normal file
@ -0,0 +1,8 @@
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('vite').UserConfig} */
|
||||
const config = {
|
||||
plugins: [sveltekit()]
|
||||
};
|
||||
|
||||
export default config;
|
Loading…
x
Reference in New Issue
Block a user