[extension] Fix warning about sourcemaps
This commit is contained in:
parent
697dfb968d
commit
3d81cf91a6
@ -15,6 +15,7 @@ export default fs.readdirSync(path.join(__dirname, 'webviews', 'pages')).map((in
|
||||
return {
|
||||
input: 'webviews/pages/' + input,
|
||||
output: {
|
||||
sourcemap: true,
|
||||
format: 'iife',
|
||||
name: 'app',
|
||||
file: 'out/compiled/' + name + '.js'
|
||||
@ -35,6 +36,7 @@ export default fs.readdirSync(path.join(__dirname, 'webviews', 'pages')).map((in
|
||||
}),
|
||||
commonjs(),
|
||||
typescript({
|
||||
sourceMap: true,
|
||||
tsconfig: 'webviews/tsconfig.json',
|
||||
inlineSources: !production
|
||||
}),
|
||||
|
@ -2,5 +2,5 @@
|
||||
"extends": "@tsconfig/svelte/tsconfig.json",
|
||||
"include": ["./**/*"],
|
||||
"exclude": ["../node_modules/*"],
|
||||
"compilerOptions": { "strict": true }
|
||||
"compilerOptions": { "strict": true, "sourceMap": true }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user