Closed
Description
I am using the adal-angular
package and algo expose
library. The thing is I need to import the AuthenticationContext
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
?
Metadata
Metadata
Assignees
Labels
No labels