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
Create React App doesn't support Webpack loaders. If you eject, you can customize ESLint config any way you like (and replace our preset with any other preset you prefer).
I would, however, recommend using regular JS instead of webpack loaders. This code:
I am using the
adal-angular
package and algoexpose
library. The thing is I need to import theAuthenticationContext
var AuthenticationContext = require('expose?AuthenticationContext!adal-angular');
but
create-react-app
webpack can not compile it because there is a flag for handling this kind of things:import/no-webpack-loader-syntax
inside the
eslint-config-react-app
.So I had to change it to:
'import/no-webpack-loader-syntax': 'warn'
How can I prevent this behaviour not changing the
node_module
?The text was updated successfully, but these errors were encountered: