Hello I am stuck with my application, my application working fine in all other browser not in IE it's throw the error
0x800a0416 - JavaScript runtime error: Multiple definitions of a property not allowed in strict mode
I have implemented loader in webpack.config
module: {
loaders: [{
test: /\.js?$/,
exclude: /(node_modules|bower_components)/,
loaders: ['babel'],
include: path.join(__dirname, 'scripts')
}]
}
and my Package.json Script contain "build": "./node_modules/.bin/webpack --config webpack.config.production.js --progress --profile --colors",
for build the bundle
If I will explicitly find use strict
and remove it from bundle then it works fine so how can I remove that strict mode while create a bundle using webpack
I have include the blacklist option in my .babelrc file like
blacklist: ["useStrict"]
and it's working fine.