Skip to content

Commit 1d3f024

Browse files
committed
chore(webpack): add babel-polyfill
1 parent 7359c13 commit 1d3f024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = function(config, env) {
22
if (env === 'production') {
33
config.entry = {
4-
index: './src/index.js',
4+
index: ['babel-polyfill', './src/index.js'],
55
common: ['react', 'react-dom']
66
};
77
}

0 commit comments

Comments
 (0)