fixed tsconfig, enabled sourcemap

This commit is contained in:
Sebastian Frank 2020-11-23 10:57:59 +01:00
parent 9b72defc95
commit 7164496a68
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3
3 changed files with 4 additions and 3 deletions

View File

@ -31,13 +31,13 @@ module.exports = {
/* ... */
],
installOptions: {
sourceMap: false,
sourceMap: true,
},
devOptions: {
/* ... */
},
buildOptions: {
sourceMaps: false,
sourceMaps: true,
clean: true,
},
proxy: {

View File

@ -1,6 +1,7 @@
const sveltePreprocess = require("svelte-preprocess")
module.exports = {
preprocess: sveltePreprocess({
sourceMap: true,
defaults: {
script: "typescript",
},

View File

@ -1,7 +1,7 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",
"include": ["src/**/*", , "types/**/*"],
"include": ["src/**/*", "types/**/*"],
"compilerOptions": {
"module": "esnext",
"typeRoots": ["./node_modules/@types", "./types"],