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.
32 lines
641 B
32 lines
641 B
7 years ago
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||
8 years ago
|
|
||
|
module.exports = {
|
||
7 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]',
|
||
|
},
|
||
|
},
|
||
7 years ago
|
{
|
||
|
loader: 'postcss-loader',
|
||
|
options: {
|
||
|
sourceMap: true,
|
||
|
},
|
||
|
},
|
||
7 years ago
|
{
|
||
|
loader: 'sass-loader',
|
||
|
options: {
|
||
|
includePaths: ['app/javascript'],
|
||
6 years ago
|
fiber: require('fibers'),
|
||
|
implementation: require('sass'),
|
||
7 years ago
|
sourceMap: true,
|
||
7 years ago
|
},
|
||
|
},
|
||
7 years ago
|
],
|
||
8 years ago
|
};
|