aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.d/handlebars.js
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-03-24 01:17:22 +0100
committerRobert Jaros <rjaros@finn.pl>2018-03-24 01:17:22 +0100
commit3b1eae9ed8b7e1d57f8f05968820c5eb4bbe8fe2 (patch)
tree3a1df20f676fbf2f9b293920704045f1736e2ac8 /webpack.config.d/handlebars.js
parent45bbfe53a19a16127adf68f23325dd139fec89ca (diff)
downloadkvision-3b1eae9ed8b7e1d57f8f05968820c5eb4bbe8fe2.tar.gz
kvision-3b1eae9ed8b7e1d57f8f05968820c5eb4bbe8fe2.tar.bz2
kvision-3b1eae9ed8b7e1d57f8f05968820c5eb4bbe8fe2.zip
Handlebars templating support.
Diffstat (limited to 'webpack.config.d/handlebars.js')
-rw-r--r--webpack.config.d/handlebars.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/webpack.config.d/handlebars.js b/webpack.config.d/handlebars.js
new file mode 100644
index 00000000..3847b17a
--- /dev/null
+++ b/webpack.config.d/handlebars.js
@@ -0,0 +1,6 @@
+config.module.rules.push(
+ {
+ test: /\.hbs$/i,
+ loader: 'handlebars-loader'
+ }
+); \ No newline at end of file