1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/config/webpack/modules/html.js
2022-03-16 11:23:58 +01:00

20 lines
359 B
JavaScript

const path = require('path');
module.exports = {
test: /\.html$/i,
exclude: /node_modules/,
type: 'javascript/auto',
use: [
{
loader: 'ngtemplate-loader',
options: {
relativeTo: path.join(__dirname, '../../../app/frontend/templates'),
requireAngular: true
}
},
{
loader: 'html-loader'
}
]
};