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
I have the problem described in the Stackoverflow question. If I triaged it correctly then there is a bug in Webpack 4 and it's a hard dependency of react-scripts.
I have the following solutions in mind for that problem:
Don't use react-scripts. But I don't have an idea of how to build a React application without them.
Fork markdown-it-prism package to specify the path to index.js explicitly.
Somehow use Webpack 5 with react-scripts.
If you have any ideas about how to fix it in a better way then I would really appreciate your help.
The text was updated successfully, but these errors were encountered:
The first sample project uses react-scripts to illustrate the high-level problem webpack-markdown-it-bug.zip. To reproduce run npm install, npm start and see the error in a browser.
The second sample project uses Webpack 4 and contains minimized code for the problem webpack-bug.zip. To reproduce run npm install, npm run build, and open index.html in the browser. In the console, by the output, you will see that the wrong file was required.
I have the problem described in the Stackoverflow question. If I triaged it correctly then there is a bug in Webpack 4 and it's a hard dependency of
react-scripts
.I have the following solutions in mind for that problem:
react-scripts
. But I don't have an idea of how to build a React application without them.markdown-it-prism
package to specify the path toindex.js
explicitly.react-scripts
.If you have any ideas about how to fix it in a better way then I would really appreciate your help.
The text was updated successfully, but these errors were encountered: