diff options
author | sualko <klaus@jsxc.org> | 2018-07-21 23:11:38 +0300 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2018-07-21 23:11:38 +0300 |
commit | 14f0af316d6d86f0a4177d88edc26ea3e281e0a5 (patch) | |
tree | b3d9419b5d57f68298d1880108ee44b23f8d510c /webpack.config.js | |
parent | f2bb0c26fd42d22878be40bb12125dfb3e0fe79c (diff) |
fix handlebars options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 8 |
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') + ] } }, { |