-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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 in ModuleConcatenationPlugin: The export has no internal name #5314
Comments
I got this as well and fixed by changing a default export to named export. Does this have something to do with circular dependencies? |
I fixed it by doing the same, but I'd still say it's a bug, no? |
Yes, it's a bug. |
Do you have a repro repo for me? |
@jeffijoe same thing - cannot reproduce simple example. It seems that PS. BTW, did you use react-lodable? |
@nodkz I haven't used code splitting since webpack 1, had random runtime failures 2/10 times cause of it. |
Minimal repro, use with babel-loader:
b.js:
Not a regression, error was there as well in v3.0.0-rc.0. |
I'm seeing a similar problem, let me know if I should open a new issue // file.js
import fetchPonyfill from 'fetch-ponyfill'
const useGlobal = () => …
export const { fetch } = useGlobal() ? global : fetchPonyfill() When
|
Try with latest version, if it's still an issue, create a repro case and open a new issue. |
This bug is still an issue. |
Do you want to request a feature or report a bug?
Report a Bug. 🐛 😱
What is the current behavior?
I am getting the following error when using
ModuleConcatenationPlugin
:If the current behavior is a bug, please provide the steps to reproduce.
The file that the error is mentioning looks something like this:
What is the expected behavior?
No error should be thrown.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
The text was updated successfully, but these errors were encountered: