Skip to content

Commit

Permalink
use transpile only with tsnode (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
agubler committed Oct 10, 2019
1 parent 2007b2f commit 0e33499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class InsertScriptPlugin {
}

export default function webpackConfigFactory(args: any): webpack.Configuration {
tsnode.register();
tsnode.register({ transpileOnly: true });
const isLegacy = args.legacy;
const experimental = args.experimental || {};
const isExperimentalSpeed = !!experimental.speed && args.mode === 'dev' && !isLegacy;
Expand Down

0 comments on commit 0e33499

Please sign in to comment.