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_erb.js

35 lines
603 B
JavaScript
Raw Normal View History

2022-03-14 14:52:23 +01:00
module.exports = {
test: /\.(scss|sass)\.erb$/,
exclude: /node_modules/,
use: [
{
loader: require('mini-css-extract-plugin').loader
},
{
loader: 'css-loader',
options: {
sourceMap: true,
importLoaders: 2
}
},
{
loader: 'resolve-url-loader',
options: {
sourceMap: true
}
},
{
loader: 'sass-loader',
options: {
sourceMap: true,
sassOptions: {
includePaths: ['app/frontend/src/stylesheets']
}
}
2022-03-14 14:52:23 +01:00
},
{
loader: 'rails-erb-loader'
}
2022-03-14 14:52:23 +01:00
]
};