fixed tsconfig, enabled sourcemap
This commit is contained in:
parent
9b72defc95
commit
7164496a68
@ -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: {
|
||||||
|
@ -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",
|
||||||
},
|
},
|
||||||
|
@ -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"],
|
||||||
|
Loading…
Reference in New Issue
Block a user