2019-05-09 19:39:40 +03:00
|
|
|
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: [
|
2019-05-10 15:50:40 +03:00
|
|
|
{
|
|
|
|
test: /\.handlebars$/,
|
2019-05-14 12:51:01 +03:00
|
|
|
loader: "handlebars-loader",
|
|
|
|
options: {
|
|
|
|
helperDirs: path.join(__dirname, 'src/hbs_helpers'),
|
|
|
|
}
|
2019-05-24 15:08:39 +03:00
|
|
|
}
|
2019-05-09 19:39:40 +03:00
|
|
|
]
|
|
|
|
}
|
2019-05-24 15:08:39 +03:00
|
|
|
}
|