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

15 lines
298 B
JavaScript
Raw Normal View History

const path = require('path');
2020-09-22 14:20:47 +02:00
module.exports = {
test: /\.js$/,
exclude: /node_modules/,
use: [
{
loader: 'auto-ngtemplate-loader',
options: {
pathResolver: (templatePath) => path.join(__dirname, `../../../app/frontend/templates${templatePath}`)
}
2020-09-22 14:20:47 +02:00
}
]
};