nextcloud/apps/workflowengine/webpack.js

22 lines
399 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",
options: {
helperDirs: path.join(__dirname, 'src/hbs_helpers'),
}
}
]
}
}