Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

It occur a error when i use providePlugin #59

Open
189 opened this issue Feb 9, 2016 · 0 comments
Open

It occur a error when i use providePlugin #59

189 opened this issue Feb 9, 2016 · 0 comments

Comments

@189
Copy link

189 commented Feb 9, 2016

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant