Skip to content

Commit

Permalink
Merge pull request #363 from mizdra/disable-source-maps
Browse files Browse the repository at this point in the history
Remove source map in production as it does not make debugging easier
  • Loading branch information
mizdra authored Sep 2, 2024
2 parents a32d53f + 067ddc6 commit dc7c960
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 dc7c960

Please sign in to comment.