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/ui-tour.js

18 lines
344 B
JavaScript
Raw Normal View History

const path = require('path');
2020-10-07 14:25:48 +02:00
module.exports = {
test: /angular-ui-tour\/.*\.html$/i,
2020-10-07 14:25:48 +02:00
use: [
{
loader: 'ngtemplate-loader',
2020-10-07 14:25:48 +02:00
options: {
relativeTo: path.join(__dirname, '../../../node_modules/angular-ui-tour/app/templates'),
requireAngular: true
2020-10-07 14:25:48 +02:00
}
},
{
loader: 'html-loader'
2020-10-07 14:25:48 +02:00
}
]
};