Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jsxc/jsxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2018-07-21 23:11:38 +0300
committersualko <klaus@jsxc.org>2018-07-21 23:11:38 +0300
commit14f0af316d6d86f0a4177d88edc26ea3e281e0a5 (patch)
treeb3d9419b5d57f68298d1880108ee44b23f8d510c /webpack.config.js
parentf2bb0c26fd42d22878be40bb12125dfb3e0fe79c (diff)
fix handlebars options
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 032b0eb7..9efe8d18 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -48,11 +48,13 @@ module.exports = {
test: /\.hbs$/,
loader: 'handlebars-loader',
exclude: /node_modules/,
- query: {
+ options: {
helperDirs: [
- path.resolve(__dirname, "template", 'helpers')
+ path.resolve(__dirname, 'template', 'helpers')
],
- ignorePartials: ['list']
+ partialDirs: [
+ path.resolve(__dirname, 'template', 'partials')
+ ]
}
},
{