Skip to content

Commit

Permalink
remove source map in production as it does not make debugging easier
Browse files Browse the repository at this point in the history
  • Loading branch information
mizdra committed Sep 2, 2024
1 parent 125fdda commit 067ddc6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bin/eslint-interactive.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ const scriptFile = resolve(dir, '_eslint-interactive.js');

spawnSync(
'node',
[
'--enable-source-maps',
'--unhandled-rejections=strict',
'--experimental-import-meta-resolve',
scriptFile,
...process.argv.slice(2),
],
['--unhandled-rejections=strict', '--experimental-import-meta-resolve', scriptFile, ...process.argv.slice(2)],
{ stdio: 'inherit' },
);

0 comments on commit 067ddc6

Please sign in to comment.