You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
599 B
31 lines
599 B
6 years ago
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||
8 years ago
|
|
||
|
module.exports = {
|
||
6 years ago
|
test: /\.s?css$/i,
|
||
|
use: [
|
||
|
MiniCssExtractPlugin.loader,
|
||
6 years ago
|
{
|
||
|
loader: 'css-loader',
|
||
|
options: {
|
||
|
sourceMap: true,
|
||
|
importLoaders: 2,
|
||
|
localIdentName: '[name]__[local]___[hash:base64:5]',
|
||
|
},
|
||
|
},
|
||
6 years ago
|
{
|
||
6 years ago
|
loader: 'postcss-loader',
|
||
6 years ago
|
options: {
|
||
6 years ago
|
sourceMap: true,
|
||
6 years ago
|
},
|
||
|
},
|
||
|
{
|
||
6 years ago
|
loader: 'sass-loader',
|
||
6 years ago
|
options: {
|
||
6 years ago
|
fiber: require('fibers'),
|
||
|
implementation: require('sass'),
|
||
6 years ago
|
sourceMap: true,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
8 years ago
|
};
|