In Windows environments, the cumputed value of ${loaderPath} is 'C:\path\to\scoped-style-loader.js', not 'C:\\path\\to\\scoped-style-loader.js'.
Some characters such as '\t', for example, is escaped unexpectedly.
As a result, error "unable to resolve module 'C:\athoscoped-style-loader.js'" is emitted.
In Windows environments, the cumputed value of
${loaderPath}
is'C:\path\to\scoped-style-loader.js'
, not'C:\\path\\to\\scoped-style-loader.js'
. Some characters such as'\t'
, for example, is escaped unexpectedly.As a result, error "unable to resolve module 'C:\athoscoped-style-loader.js'" is emitted.