Skip to content

Commit

Permalink
chore: add a target field to generate ES5 compatible code for bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Oct 15, 2020
1 parent c3717ff commit e7f83ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const MemoryFS = require('memory-fs')
const compiler = webpack({
mode: 'development',
entry: path.resolve('src', 'index.ts'),
target: 'es5',
devtool: 'nosources-source-map',
plugins: [new ECMAVersionValidatorPlugin()],
resolve: {
Expand Down

0 comments on commit e7f83ac

Please sign in to comment.