Upgrade packages
This commit is contained in:
parent
379d414649
commit
4948510195
4 changed files with 12 additions and 9 deletions
1
package-lock.json
generated
1
package-lock.json
generated
|
@ -43,7 +43,6 @@
|
|||
"sade": "^1.8.1",
|
||||
"svelte": "^3.44.0",
|
||||
"svelte-check": "^3.0.3",
|
||||
"svelte-preprocess": "^5.0.1",
|
||||
"svelte2tsx": "^0.6.0",
|
||||
"tailwindcss": "^3.1.5",
|
||||
"tslib": "^2.3.1",
|
||||
|
|
|
@ -56,7 +56,6 @@
|
|||
"sade": "^1.8.1",
|
||||
"svelte": "^3.44.0",
|
||||
"svelte-check": "^3.0.3",
|
||||
"svelte-preprocess": "^5.0.1",
|
||||
"svelte2tsx": "^0.6.0",
|
||||
"tailwindcss": "^3.1.5",
|
||||
"tslib": "^2.3.1",
|
||||
|
|
|
@ -3,6 +3,12 @@ import { vitePreprocess } from "@sveltejs/kit/vite"
|
|||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
precompress: true,
|
||||
}),
|
||||
},
|
||||
|
||||
package: {
|
||||
exports: (filePath) => {
|
||||
return !filePath.startsWith("server/")
|
||||
|
@ -15,12 +21,6 @@ const config = {
|
|||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// for more information about preprocessors
|
||||
preprocess: vitePreprocess(),
|
||||
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
precompress: true,
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
|
|
|
@ -8,7 +8,12 @@
|
|||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true
|
||||
"strict": true,
|
||||
"paths": {
|
||||
"$lib": ["./src/lib"],
|
||||
"$lib/*": ["./src/lib/*"],
|
||||
"$locales/*": ["./locales/*.json"]
|
||||
}
|
||||
}
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue