summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/webpack.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-05-14 11:51:01 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-05-15 11:24:12 +0200
commit738ca9f84915e6bb3eb769cc19fbfb24510c8349 (patch)
tree1df0e8e6e19c886bdd80479f8aec8b83fb289876 /apps/workflowengine/webpack.js
parentc41aa7a20929118ce1092c603f709d06aef1da57 (diff)
downloadnextcloud-server-738ca9f84915e6bb3eb769cc19fbfb24510c8349.tar.gz
nextcloud-server-738ca9f84915e6bb3eb769cc19fbfb24510c8349.zip
fix building WFE Handlebars
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/workflowengine/webpack.js')
-rw-r--r--apps/workflowengine/webpack.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/workflowengine/webpack.js b/apps/workflowengine/webpack.js
index c85aef591d8..7cf6024573c 100644
--- a/apps/workflowengine/webpack.js
+++ b/apps/workflowengine/webpack.js
@@ -31,11 +31,14 @@ module.exports = {
},
{
test: /\.handlebars$/,
- loader: "handlebars-loader"
- }
+ loader: "handlebars-loader",
+ options: {
+ helperDirs: path.join(__dirname, 'src/hbs_helpers'),
+ }
+ },
]
},
resolve: {
- extensions: ['*', '.js']
+ extensions: ['*', '.js', '.handlebars']
}
};