server/apps/workflowengine/webpack.js
Julius Härtl 4d3c06af6d
Make sure we merge webpack rules properly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-10 10:17:23 +02:00

22 lines
428 B
JavaScript

const path = require('path');
module.exports = {
entry: path.join(__dirname, 'src', 'workflowengine.js'),
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'workflowengine.js',
},
module: {
rules: [
{
test: /\.handlebars/,
loader: "handlebars-loader",
query: {
extensions: '.handlebars',
helperDirs: path.join(__dirname, 'src/hbs_helpers'),
}
}
]
}
}