1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/config/webpack/loaders/html.js

19 lines
332 B
JavaScript
Raw Normal View History

2020-09-22 14:20:47 +02:00
const path = require('path');
2020-09-09 11:54:49 +02:00
module.exports = {
test: /\.html$/i,
2020-09-22 14:20:47 +02:00
exclude: /node_modules/,
use: [
{
loader: 'ngtemplate-loader',
options: {
relativeTo: path.join(__dirname, '../../../app/frontend/templates'),
requireAngular: true
}
},
{
loader: 'html-loader'
}
]
2020-09-09 11:54:49 +02:00
};