This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2018-07-13 18:56:41 -07:00
|
|
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
2017-05-02 17:04:16 -07:00
|
|
|
|
|
|
|
module.exports = {
|
2018-07-13 18:56:41 -07:00
|
|
|
test: /\.s?css$/i,
|
|
|
|
use: [
|
|
|
|
MiniCssExtractPlugin.loader,
|
2019-03-15 07:05:31 -07:00
|
|
|
{
|
|
|
|
loader: 'css-loader',
|
|
|
|
options: {
|
|
|
|
sourceMap: true,
|
|
|
|
importLoaders: 2,
|
|
|
|
},
|
|
|
|
},
|
2018-07-13 18:56:41 -07:00
|
|
|
{
|
|
|
|
loader: 'postcss-loader',
|
|
|
|
options: {
|
|
|
|
sourceMap: true,
|
|
|
|
},
|
|
|
|
},
|
2018-07-15 09:17:37 -07:00
|
|
|
{
|
|
|
|
loader: 'sass-loader',
|
|
|
|
options: {
|
|
|
|
includePaths: ['app/javascript'],
|
2018-12-31 09:11:48 -08:00
|
|
|
implementation: require('sass'),
|
2018-07-13 18:56:41 -07:00
|
|
|
sourceMap: true,
|
2018-07-15 09:17:37 -07:00
|
|
|
},
|
|
|
|
},
|
2018-07-13 18:56:41 -07:00
|
|
|
],
|
2017-05-20 08:31:47 -07:00
|
|
|
};
|