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",
|
"sade": "^1.8.1",
|
||||||
"svelte": "^3.44.0",
|
"svelte": "^3.44.0",
|
||||||
"svelte-check": "^3.0.3",
|
"svelte-check": "^3.0.3",
|
||||||
"svelte-preprocess": "^5.0.1",
|
|
||||||
"svelte2tsx": "^0.6.0",
|
"svelte2tsx": "^0.6.0",
|
||||||
"tailwindcss": "^3.1.5",
|
"tailwindcss": "^3.1.5",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
|
|
|
@ -56,7 +56,6 @@
|
||||||
"sade": "^1.8.1",
|
"sade": "^1.8.1",
|
||||||
"svelte": "^3.44.0",
|
"svelte": "^3.44.0",
|
||||||
"svelte-check": "^3.0.3",
|
"svelte-check": "^3.0.3",
|
||||||
"svelte-preprocess": "^5.0.1",
|
|
||||||
"svelte2tsx": "^0.6.0",
|
"svelte2tsx": "^0.6.0",
|
||||||
"tailwindcss": "^3.1.5",
|
"tailwindcss": "^3.1.5",
|
||||||
"tslib": "^2.3.1",
|
"tslib": "^2.3.1",
|
||||||
|
|
|
@ -3,6 +3,12 @@ import { vitePreprocess } from "@sveltejs/kit/vite"
|
||||||
|
|
||||||
/** @type {import('@sveltejs/kit').Config} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
|
kit: {
|
||||||
|
adapter: adapter({
|
||||||
|
precompress: true,
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
|
||||||
package: {
|
package: {
|
||||||
exports: (filePath) => {
|
exports: (filePath) => {
|
||||||
return !filePath.startsWith("server/")
|
return !filePath.startsWith("server/")
|
||||||
|
@ -15,12 +21,6 @@ const config = {
|
||||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||||
// for more information about preprocessors
|
// for more information about preprocessors
|
||||||
preprocess: vitePreprocess(),
|
preprocess: vitePreprocess(),
|
||||||
|
|
||||||
kit: {
|
|
||||||
adapter: adapter({
|
|
||||||
precompress: true,
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default config
|
export default config
|
||||||
|
|
|
@ -8,7 +8,12 @@
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": 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
|
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue