What is "webpackEmptyAsyncContext" and why does it return Error? #13019
Unanswered
serdaryesilmurat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(First of all, I am using CRA 4.)
In my code I have a dynamic import statement that loads a JS bundle file from a remote path.
When webpack compiles the code it replaces "import" statement with
And this call refers to the webpackEmptyAsyncContext function generated by webpack:
What am I supposed to do to make webpack to use "import()" instead of webpackEmptyAsyncContext in the generated bundle.
Beta Was this translation helpful? Give feedback.
All reactions