-
-
Notifications
You must be signed in to change notification settings - Fork 450
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
Error when try to use .mjs babel.config.mjs file #953
Comments
Can you share a repository that shows the bug? 🙏 |
Unfortunately this is not in my own github account so sharing is not possible (company's internal private repo). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a bug report
Webpack Version:
5.74.0
Babel Core Version:
7.19.1
Babel Loader Version:
8.2.5
Please tell us about your environment:
OSX 10.x
Current behavior:
I am converting my project's config from .js to .mjs and I'm getting the following error:
Cannot change caching after evaluation has completed.
Expected/desired behavior:
Expect to be able to just replace .js extension with .mjs and everything to work as before (with changing imports/exports to mjs)
So my babel configuration file is now named babel.config.mjs
Webpack configuration is pretty standard (.js extension) but the concerning block is like this:
The text was updated successfully, but these errors were encountered: