Closed npejo closed 7 years ago
I believe you @npejo and @pirelenito have some links to a discussion in the Webpack community about how to solve this issue, would you mind pasting it here for context? I would like to know for sure that Webpack is providing support for inject-loader
before we move in any direction.
inject-loader
does not support ES6 modules. To be able to run unit tests that are using this loader we need to have transpiled modules tocommonjs
.Also the eslint rule
import/no-webpack-loader-syntax
should be disabled to allow imports as'inject-loader!./path/to/module