diff --git a/snowpack.config.js b/snowpack.config.js index a2e2501..2afae11 100644 --- a/snowpack.config.js +++ b/snowpack.config.js @@ -31,13 +31,13 @@ module.exports = { /* ... */ ], installOptions: { - sourceMap: false, + sourceMap: true, }, devOptions: { /* ... */ }, buildOptions: { - sourceMaps: false, + sourceMaps: true, clean: true, }, proxy: { diff --git a/svelte.config.js b/svelte.config.js index 455a336..530de84 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,6 +1,7 @@ const sveltePreprocess = require("svelte-preprocess") module.exports = { preprocess: sveltePreprocess({ + sourceMap: true, defaults: { script: "typescript", }, diff --git a/tsconfig.json b/tsconfig.json index 7639c6c..b4ff67d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "@tsconfig/svelte/tsconfig.json", - "include": ["src/**/*", , "types/**/*"], + "include": ["src/**/*", "types/**/*"], "compilerOptions": { "module": "esnext", "typeRoots": ["./node_modules/@types", "./types"],