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
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
I've created a sample project here-- using the source map example from the sass-loader docs and code from the extract-text-webpack-plugin docs here
With the sample project above I used devtool: "inline-source-map".
Examples of actual resource paths paths
Actual app.scss path is ./src/styles/app.scss
However after using the extract-text-wepack-plugin to extract the css, the resource path for the extracted file becomes ./src/styles/src/styles/app.scss and the absolute resource path: C:/Users/m51n/source/repos/source-map-path/src/styles/src/styles/app.scss (does not exist)
When looking at the info from devtoolModuleFilenameTemplatecommented here, the resource paths differs from other resource paths after being extracted with the extract-text-webpack-plugin.
Expected
Expected resource path returned by the plugin in this case would be ./src/styles/app.scss and absolute resource path as it exist on disk: C:/Users/m51n/source/repos/source-map-path/src/styles/app.scss
The text was updated successfully, but these errors were encountered:
Windows 10
Node v9.2.0
I've created a sample project here-- using the source map example from the
sass-loader
docs and code from theextract-text-webpack-plugin
docs hereWith the sample project above I used
devtool: "inline-source-map"
.Examples of actual resource paths paths
Actual
app.scss
path is./src/styles/app.scss
However after using the
extract-text-wepack-plugin
to extract the css, the resource path for the extracted file becomes./src/styles/src/styles/app.scss
and the absolute resource path:C:/Users/m51n/source/repos/source-map-path/src/styles/src/styles/app.scss
(does not exist)When looking at the info from
devtoolModuleFilenameTemplate
commented here, the resource paths differs from other resource paths after being extracted with theextract-text-webpack-plugin
.Expected
Expected resource path returned by the plugin in this case would be
./src/styles/app.scss
and absolute resource path as it exist on disk:C:/Users/m51n/source/repos/source-map-path/src/styles/app.scss
The text was updated successfully, but these errors were encountered: