Commit 83b38677 by Eric Fischer

Use style-loader

parent b57f1447
...@@ -30,13 +30,17 @@ module.exports = Merge.smart(commonConfig, { ...@@ -30,13 +30,17 @@ module.exports = Merge.smart(commonConfig, {
/paragon/, /paragon/,
/font-awesome/ /font-awesome/
], ],
use: [{ use: [
'style-loader',
{
loader: 'css-loader', loader: 'css-loader',
options: { options: {
sourceMap: true,
modules: true, modules: true,
localIdentName: '[name]__[local]___[hash:base64:5]' localIdentName: '[path][name]__[local]--[hash:base64:5]'
} }
}, { },
{
loader: 'sass-loader', loader: 'sass-loader',
options: { options: {
data: '$base-rem-size: 0.625; @import "paragon-reset";', data: '$base-rem-size: 0.625; @import "paragon-reset";',
...@@ -46,7 +50,8 @@ module.exports = Merge.smart(commonConfig, { ...@@ -46,7 +50,8 @@ module.exports = Merge.smart(commonConfig, {
], ],
sourceMap: true 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