Skip to content

Commit

Permalink
webpack.config.js: Fix ES5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
xqq committed Jul 28, 2021
1 parent 18aa6a7 commit cc7db07
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ let config = {
filename: 'flv.js',
path: path.resolve(__dirname, 'dist'),
library: 'flvjs',
libraryTarget: 'umd'
libraryTarget: 'umd',
environment: {
arrowFunction: false,
bigIntLiteral: false,
const: false,
destructuring: false,
dynamicImport: false,
forOf: false,
module: false
}
},

devtool: 'source-map',
Expand Down

0 comments on commit cc7db07

Please sign in to comment.