mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
22 lines
382 B
JavaScript
22 lines
382 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
test: /\.html\.erb$/,
|
|
exclude: /node_modules/,
|
|
use: [
|
|
{
|
|
loader: 'ngtemplate-loader',
|
|
options: {
|
|
relativeTo: path.join(__dirname, '../../../app/frontend/templates'),
|
|
requireAngular: true
|
|
}
|
|
},
|
|
{
|
|
loader: 'html-loader'
|
|
},
|
|
{
|
|
loader: 'rails-erb-loader'
|
|
}
|
|
]
|
|
};
|