Skip to content

Commit 6d5ab53

Browse files
authored
chore: don't hold sourcemap reference in prod build (#3959)
1 parent 967f3b7 commit 6d5ab53

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"target": "ESNext",
44
"module": "commonjs",
55
"lib": ["esnext", "dom", "DOM.Iterable"],
6-
"sourceMap": true,
76
"rootDir": "./src",
87
"outDir": "./lib",
98
"strict": true,

utils/watch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const fs = require('fs');
2020

2121
const spawns = [
2222
child_process.spawn('node', [path.join(__dirname, 'runWebpack.js'), '--mode="development"', '--watch', '--silent'], { stdio: 'inherit', shell: true }),
23-
child_process.spawn('npx', ['tsc', '-w', '--preserveWatchOutput', '-p', path.join(__dirname, '..')], { stdio: 'inherit', shell: true }),
23+
child_process.spawn('npx', ['tsc', '-w', '--preserveWatchOutput', '--sourceMap', '-p', path.join(__dirname, '..')], { stdio: 'inherit', shell: true }),
2424
];
2525
process.on('exit', () => spawns.forEach(s => s.kill()));
2626

0 commit comments

Comments
 (0)