We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7359c13 commit 1d3f024Copy full SHA for 1d3f024
webpack.config.js
@@ -1,7 +1,7 @@
1
module.exports = function(config, env) {
2
if (env === 'production') {
3
config.entry = {
4
- index: './src/index.js',
+ index: ['babel-polyfill', './src/index.js'],
5
common: ['react', 'react-dom']
6
};
7
}
0 commit comments