Skip to content

Commit

Permalink
chore(app): fixing js configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
razshare committed Jan 29, 2025
1 parent 8e7bf32 commit 7b489f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 9 additions & 6 deletions www/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@
"skipLibCheck": true,
"checkJs": true,
"paths": {
"$lib/*": ["./lib/*"]
"$lib/*": ["./lib/*"],
"$pages/*": ["./pages/*"]
}
},
"include": [
"lib/**/*.d.ts",
"lib/**/*.js",
"pages/**/*.svelte",
"pages/**/*.d.ts",
"pages/**/*.d.ts",
"pages/**/*.js",
"lib/**/*.svelte",
"index.svelte",
"render.server.js",
"render.client.js"
"lib/**/*.d.ts",
"lib/**/*.d.ts",
"lib/**/*.js"
]
}
4 changes: 3 additions & 1 deletion www/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ export default defineConfig({
],
resolve: {
alias: {
$lib: './lib',
$lib: "./lib",
$pages: "./pages",
},
},
build: {
sourcemap: "inline",
rollupOptions: {
input: {
index: "./.frizzante/vite-project/index.html",
Expand Down

0 comments on commit 7b489f5

Please sign in to comment.