Unverified Commit 5026b4f9 by Eric Fischer Committed by GitHub

Merge pull request #16405 from edx/dahlia/fix_webpack_split

fix styling loader
parents c83811f9 83b38677
...@@ -30,23 +30,28 @@ module.exports = Merge.smart(commonConfig, { ...@@ -30,23 +30,28 @@ module.exports = Merge.smart(commonConfig, {
/paragon/, /paragon/,
/font-awesome/ /font-awesome/
], ],
use: [{ use: [
loader: 'css-loader', 'style-loader',
options: { {
modules: true, loader: 'css-loader',
localIdentName: '[name]__[local]___[hash:base64:5]' options: {
sourceMap: true,
modules: true,
localIdentName: '[path][name]__[local]--[hash:base64:5]'
}
},
{
loader: 'sass-loader',
options: {
data: '$base-rem-size: 0.625; @import "paragon-reset";',
includePaths: [
path.join(__dirname, './node_modules/@edx/paragon/src/utils'),
path.join(__dirname, './node_modules/')
],
sourceMap: true
}
} }
}, { ]
loader: 'sass-loader',
options: {
data: '$base-rem-size: 0.625; @import "paragon-reset";',
includePaths: [
path.join(__dirname, './node_modules/@edx/paragon/src/utils'),
path.join(__dirname, './node_modules/')
],
sourceMap: true
}
}]
} }
] ]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment