1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/config/webpack/loaders/sass.js
2020-09-22 09:45:18 +02:00

20 lines
391 B
JavaScript

const getStyleRule = require('@rails/webpacker/package/utils/get_style_rule');
module.exports = getStyleRule(/\.(scss|sass)$/i, false, [
{
loader: 'resolve-url-loader',
options: {
sourceMap: true
}
},
{
loader: 'sass-loader',
options: {
sourceMap: true,
sassOptions: {
includePaths: ['app/frontend/src/stylesheets']
}
}
}
]);