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: { installOptions: {
sourceMap: false, sourceMap: true,
}, },
devOptions: { devOptions: {
/* ... */ /* ... */
}, },
buildOptions: { buildOptions: {
sourceMaps: false, sourceMaps: true,
clean: true, clean: true,
}, },
proxy: { proxy: {

View File

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

View File

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