docs icon indicating copy to clipboard operation
docs copied to clipboard

It occur a error when i use providePlugin

Open 189 opened this issue 10 years ago • 0 comments

After I build the script file, and excuted on my page, it happen: image image image It seems because that those codes was not written in strict mode but run in strict mode. I can not modify the code source for some reason, how can i fix it by pass params when i build, such as

new webpack.ProvidePlugin({
   ...
   strictMode : false
})

what should i do?

189 avatar Feb 09 '16 12:02 189