You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Use @rolup/plugin-babel and @babel/preset-env. Create a component where the template contains code that's not yet supported by a browser (thus needed to be transformed). Write similar unsupported code in a JavaScript file.
What is expected?
Both unsupported versions should be transformed to work in the targeted browser.
What is actually happening?
Only code in the JavaScript file will get transformed, not the template code.
I've seen a similar issue where the solution was to specify the extensions for the plugin, which I did, however the issue persists. I'd guess I've missed to specify some flag.
The text was updated successfully, but these errors were encountered:
Version
6.0.0-beta.10
Reproduction link
https://github.com/Nerixyz/vue-rollup-babel-issue
Steps to reproduce
Use
@rolup/plugin-babel
and@babel/preset-env
. Create a component where the template contains code that's not yet supported by a browser (thus needed to be transformed). Write similar unsupported code in a JavaScript file.What is expected?
Both unsupported versions should be transformed to work in the targeted browser.
What is actually happening?
Only code in the JavaScript file will get transformed, not the template code.
I've seen a similar issue where the solution was to specify the extensions for the plugin, which I did, however the issue persists. I'd guess I've missed to specify some flag.
The text was updated successfully, but these errors were encountered: