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.
30 lines
546 B
30 lines
546 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,
|
||
|
},
|
||
|
},
|
||
7 years ago
|
{
|
||
|
loader: 'postcss-loader',
|
||
|
options: {
|
||
|
sourceMap: true,
|
||
|
},
|
||
|
},
|
||
6 years ago
|
{
|
||
|
loader: 'sass-loader',
|
||
|
options: {
|
||
|
includePaths: ['app/javascript'],
|
||
6 years ago
|
implementation: require('sass'),
|
||
7 years ago
|
sourceMap: true,
|
||
6 years ago
|
},
|
||
|
},
|
||
7 years ago
|
],
|
||
8 years ago
|
};
|