Skip to content

Commit

Permalink
Define target "web" and "es5" for webpack to make build files ES5 com…
Browse files Browse the repository at this point in the history
…pliant (#4225)
  • Loading branch information
dsilhavy committed Jul 12, 2023
1 parent e56b669 commit ff6884e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/webpack.base.js
Expand Up @@ -5,6 +5,7 @@ const out_dir = '../dist';

const config = {
devtool: 'source-map',
target: ['web', 'es5'],
output: {
path: path.resolve(__dirname, out_dir),
publicPath: '/dist/',
Expand Down

0 comments on commit ff6884e

Please sign in to comment.