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
the conflict is : emojis-list exports a json file. there is no problem while it is in node environment.
but in webpack , the require function is rewrite to __webpack_require__ . it can't load json file without json-loader
The loader-utils are designed to be used in a node.js environment. I cannot think of a situation where you want to include your loader in your bundle :)
step1
step2
now if you
npm start
it works.step3
step4
modify
index.js
and addthen it throw error above
the error code is
loader-utils/index.js
Line 5 in ee056c9
step5
modify
index.js
:there is no error again
I think there are some conflicts between
webpack
loader-utils
emojis-list
andreact-router-proxy-loader
The text was updated successfully, but these errors were encountered: