I've created a new create-react-app and am using react-app-rewired.
I'm working in a mono-repo style repository that looks like this:
root
backend
src
shared
src
web
src
The reason I am using the dangerous option is that I need the /web codebase to import from shared which contains some utility javascript files.
When I commented out these 2 lines inside of the aliasDangerous file the code worked
I was wondering what the purpose of importing eslint-loader is?
If the aliasDangerous.js file has this, why doesnt the non dangerous version code have it ?
Description
When I use the
aliasDangerous
method I am getting the following error:Scenario
I've created a new
create-react-app
and am usingreact-app-rewired
. I'm working in a mono-repo style repository that looks like this:The reason I am using the dangerous option is that I need the
/web
codebase to import from shared which contains some utility javascript files.When I commented out these 2 lines inside of the
aliasDangerous
file the code workedI was wondering what the purpose of importing
eslint-loader
is? If thealiasDangerous.js
file has this, why doesnt the non dangerous version code have it ?