Skip to content

Commit

Permalink
fix(custom-webpack): change ts-node compilation target to include T…
Browse files Browse the repository at this point in the history
…S features (#941)

Co-authored-by: JeB <[email protected]>
  • Loading branch information
arturovt and just-jeb authored Mar 4, 2021
1 parent d8abb52 commit 88ad0f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/custom-webpack/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export function tsNodeRegister(file: string = '', tsConfig?: string) {
project: tsConfig,
compilerOptions: {
module: 'CommonJS',
target: 'ESNext', // NOTE: because interpreter is `node`, it is not necessary to spend a lot time for compiling
types: [
'node', // NOTE: `node` is added because users scripts can also use pure node's packages as webpack or others
],
Expand Down

0 comments on commit 88ad0f5

Please sign in to comment.