-
Notifications
You must be signed in to change notification settings - Fork 247
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
Build contains ES5 incompatible code #773
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
vue-meta
is producing bundles that contain syntax features that are incompatible with ES5+.:This causes syntax errors to be reported on (at least) the following browsers, rendering any app using
vue-meta
unusable:<=78
<= 14.4
(related: Vue-meta is not supported in Mobile Safari (iOS < 15) due to unsupported class method declaration with arrow function syntax #760)Ideally the build would contain code that is transpiled/polyfilled to support browsers compatible with ES5+.
Solution
Use
@rollup/plugin-babel@^5.x
in the build script to transpile the code for all module formats.Environment
[email protected]
[email protected]
The text was updated successfully, but these errors were encountered: