Skip to content
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

Open
slurmulon opened this issue Jul 27, 2022 · 1 comment
Open

Build contains ES5 incompatible code #773

slurmulon opened this issue Jul 27, 2022 · 1 comment

Comments

@slurmulon
Copy link

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:

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

  • vue@3.x
  • vue-meta@3.0.0-alpha.10
@BlackCubeNo99
Copy link

Me too.

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

No branches or pull requests

2 participants