1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +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']
}
}
}
]);