1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/config/webpack/modules/sass_erb.js
2022-03-15 09:51:39 +01:00

25 lines
418 B
JavaScript

module.exports = {
test: /\.(scss|sass)\.erb$/,
exclude: /node_modules/,
use: [
{
loader: 'resolve-url-loader',
options: {
sourceMap: true
}
},
{
loader: 'sass-loader',
options: {
sourceMap: true,
sassOptions: {
includePaths: ['app/frontend/src/stylesheets']
}
}
},
{
loader: 'rails-erb-loader'
}
]
};