Skip to content

Commit

Permalink
test: set a target web
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Oct 16, 2020
1 parent 5133552 commit 037cae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const MemoryFS = require('memory-fs')
const compiler = webpack({
mode: 'development',
entry: path.resolve('src', 'index.ts'),
target: 'es5',
target: ['web', 'es5'],
devtool: 'nosources-source-map',
plugins: [new ECMAVersionValidatorPlugin()],
resolve: {
Expand Down

0 comments on commit 037cae5

Please sign in to comment.