trying some weird move from stack overflow
This commit is contained in:
16
package-lock.json
generated
16
package-lock.json
generated
@ -15,6 +15,7 @@
|
||||
"@sveltejs/adapter-static": "^2.0.3",
|
||||
"@sveltejs/kit": "^1.20.4",
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"@types/node": "^20.8.10",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"daisyui": "^3.1.6",
|
||||
"mdsvex": "^0.11.0",
|
||||
@ -622,6 +623,15 @@
|
||||
"integrity": "sha512-2JwWnHK9H+wUZNorf2Zr6ves96WHoWDJIftkcxPKsS7Djta6Zu519LarhRNljPXkpsZR2ZMwNCPeW7omW07BJw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "20.8.10",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.10.tgz",
|
||||
"integrity": "sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"undici-types": "~5.26.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/pug": {
|
||||
"version": "2.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/pug/-/pug-2.0.8.tgz",
|
||||
@ -2401,6 +2411,12 @@
|
||||
"node": ">=14.0"
|
||||
}
|
||||
},
|
||||
"node_modules/undici-types": {
|
||||
"version": "5.26.5",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
||||
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/unist-util-stringify-position": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz",
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
"@sveltejs/adapter-static": "^2.0.3",
|
||||
"@sveltejs/kit": "^1.20.4",
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"@types/node": "^20.8.10",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"daisyui": "^3.1.6",
|
||||
"mdsvex": "^0.11.0",
|
||||
|
||||
@ -9,7 +9,14 @@
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"$": [
|
||||
"src/"
|
||||
],
|
||||
"$/*": [
|
||||
"src/*"
|
||||
],
|
||||
"$lib": [
|
||||
"src/lib"
|
||||
],
|
||||
@ -22,7 +29,10 @@
|
||||
"$data/*": [
|
||||
"src/data/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
}
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||
//
|
||||
|
||||
@ -1,8 +1,17 @@
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { defineConfig } from 'vite';
|
||||
import path from 'path';
|
||||
|
||||
|
||||
export default defineConfig({
|
||||
base: '.',
|
||||
resolve: {
|
||||
alias: {
|
||||
'$': path.resolve(__dirname, './src'),
|
||||
'$lib': path.resolve(__dirname, './src/lib'),
|
||||
'$data': path.resolve(__dirname, './src/data'),
|
||||
},
|
||||
},
|
||||
root: 'src',
|
||||
plugins: [sveltekit()],
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user