Upgrade packages

This commit is contained in:
Emmanuel 2023-01-31 16:26:37 +01:00
parent 379d414649
commit 4948510195
4 changed files with 12 additions and 9 deletions

1
package-lock.json generated
View file

@ -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",

View file

@ -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",

View file

@ -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

View file

@ -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
//