-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I have raised the issue here as well thought it was the mini-css-extract-plugin issue but just when I commented the RTL plugin from my Webpack config the sourcemap started working as expected.
Webpack config is straight forward:
// ...
plugins: [
new MiniCssExtractPlugin({
filename: 'app-en.css'
}),
new WebpackRTLPlugin({
filename: 'app-ar.css'
})
],
devtool: "source-map",
module: {
rules: [
{
test: /\.scss$/,
use: [
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: { sourceMap: true },
},
{
loader: 'sass-loader',
options: { sourceMap: true },
},
]
// ...
What could be the issue? Also noticed, the source reference files are getting deleted, you can see this on the Browser's devtool under Sources tab and under webpack:// tree
aprudnikoff
Metadata
Metadata
Assignees
Labels
No labels