mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
23 lines
435 B
JavaScript
23 lines
435 B
JavaScript
const getStyleRule = require('@rails/webpacker/package/utils/get_style_rule');
|
|
|
|
module.exports = getStyleRule(/\.(scss|sass)\.erb$/, false, [
|
|
{
|
|
loader: 'resolve-url-loader',
|
|
options: {
|
|
sourceMap: true
|
|
}
|
|
},
|
|
{
|
|
loader: 'sass-loader',
|
|
options: {
|
|
sourceMap: true,
|
|
sassOptions: {
|
|
includePaths: ['app/frontend/src/stylesheets']
|
|
}
|
|
}
|
|
},
|
|
{
|
|
loader: 'rails-erb-loader'
|
|
}
|
|
]);
|