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.
29 lines
504 B
29 lines
504 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,
|
||
|
},
|
||
|
},
|
||
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
|
implementation: require('sass'),
|
||
6 years ago
|
sourceMap: true,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
8 years ago
|
};
|