1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/config/webpack/loaders/html.js
2020-09-22 14:20:47 +02:00

19 lines
332 B
JavaScript

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