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

babel-loader parse comments error! #974

Closed
wangyangexpo opened this issue Nov 7, 2022 · 5 comments
Closed

babel-loader parse comments error! #974

wangyangexpo opened this issue Nov 7, 2022 · 5 comments

Comments

@wangyangexpo
Copy link

babel-loader version: 8.0.6;

image

js comments like this,will be parsed into error code;

image

image

@andremorescocia
Copy link

we have the same problem

@nicolo-ribaudo
Copy link
Member

nicolo-ribaudo commented Nov 7, 2022

We will release a fix for this today. As a workaround, you can pin your @babel/generator version to 7.19

@subratbhola
Copy link

subratbhola commented Nov 7, 2022

we have the same problem with below babel version

"@babel/core": "7.12.10",
"@babel/generator": "7.12.11",
"@babel/plugin-transform-async-to-generator": "7.12.1",
"@babel/plugin-transform-runtime": "7.12.10",
"@babel/preset-env": "7.12.11",
"@babel/runtime": "7.12.5",
"@babel/template": "7.12.7",

@subratbhola
Copy link

@nicolo-ribaudo can you please share a ETA , by when can we find the solution.

@JLHwung
Copy link
Contributor

JLHwung commented Nov 7, 2022

Duplicate of babel/babel#15132, this issue has been fixed in @babel/generator 7.20.3

@JLHwung JLHwung closed this as completed Nov 7, 2022
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

5 participants