2019-05-09 16:39:40 +00: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',
|
2019-09-03 08:55:06 +00:00
|
|
|
jsonpFunction: 'webpackJsonpWorkflowengine'
|
2019-05-09 16:39:40 +00:00
|
|
|
},
|
|
|
|
module: {
|
|
|
|
rules: [
|
2019-05-10 12:50:40 +00:00
|
|
|
{
|
2019-07-10 08:06:21 +00:00
|
|
|
test: /\.handlebars/,
|
2019-05-14 09:51:01 +00:00
|
|
|
loader: "handlebars-loader",
|
2019-07-10 08:06:21 +00:00
|
|
|
query: {
|
|
|
|
extensions: '.handlebars',
|
2019-05-14 09:51:01 +00:00
|
|
|
helperDirs: path.join(__dirname, 'src/hbs_helpers'),
|
|
|
|
}
|
2019-05-24 12:08:39 +00:00
|
|
|
}
|
2019-05-09 16:39:40 +00:00
|
|
|
]
|
|
|
|
}
|
2019-05-24 12:08:39 +00:00
|
|
|
}
|