-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
RFC: Defaulting to vue.runtime.esm.js instead of vue.esm.js #674
Comments
Current work-arround #625 |
that would actually be a matter of removing the alias, as |
Yes, it’s up to Vue to take responsibility for choosing which is the default js |
@FireLizard the rigth sentence should be |
Someone on Slack had a CSP issue with Vue.js caused by the fact we alias
vue$
to the full Vue.js build (vue.esm.js
) that compiles templates on the client instead of using the runtime-only build (vue.runtime.esm.js
).As explained in Vue.js documentation (https://vuejs.org/v2/guide/installation.html#CSP-environments):
They also recommend using the runtime-only build:
Based on those two sections I can't see any reason not to switch to
vue.runtime.esm.js
, but maybe I'm missing something?The text was updated successfully, but these errors were encountered: