Skip to content

Commit

Permalink
fix(js): remove hardcoded source-maps option from swc compile command
Browse files Browse the repository at this point in the history
ISSUES CLOSED: nrwl#9187
  • Loading branch information
Tirke committed Mar 4, 2022
1 parent 229f71e commit 7b36619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/src/utils/swc/compile-swc.ts
Expand Up @@ -10,7 +10,7 @@ function getSwcCmd(
{ swcrcPath, srcPath, destPath }: SwcCliOptions,
watch = false
) {
let swcCmd = `npx swc ${srcPath} -d ${destPath} --source-maps --no-swcrc --config-file=${swcrcPath}`;
let swcCmd = `npx swc ${srcPath} -d ${destPath} --no-swcrc --config-file=${swcrcPath}`;
return watch ? swcCmd.concat(' --watch') : swcCmd;
}

Expand Down

0 comments on commit 7b36619

Please sign in to comment.