-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throws error when minified and concatenated with a "use strict" script #81
Comments
yes, thanks for reporting. this is caused by the build plugin and has been fixed in dev branch. |
This was referenced Jun 1, 2020
This was referenced Sep 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When Vue is a part of a built website that happens to concatenate and minify (only tested with uglify2), and another script adds
'use strict';
to the global scope, the minified Vue.js script throws a JS exception in the part o the script that assigns the library tothis.Vue
(this
is undefined).To recreate:
Then try using
vue.min.js
Using the official UMD factory pattern fixes this if I remember correctly
The text was updated successfully, but these errors were encountered: