summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/webpack.js
blob: 80ec96da675fbac1d611b677e290ba3f62ec2e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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'),
				}
			}
		]
	}
}