diff options
author | Robin Appelman <robin@icewind.nl> | 2019-04-05 09:23:43 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-04-08 09:16:07 +0200 |
commit | 3cce485fc8aad0ac75cf7da69ac32c96d6018fd8 (patch) | |
tree | 4d9fbc4beaf0ce785df406091b0da5914b9f20a0 /apps/files_versions/webpack.js | |
parent | acba430246bc8815c368ef19e2c169769ca897ea (diff) | |
download | nextcloud-server-3cce485fc8aad0ac75cf7da69ac32c96d6018fd8.tar.gz nextcloud-server-3cce485fc8aad0ac75cf7da69ac32c96d6018fd8.zip |
use webpack to compile handlebars for files_versions
This removes the need to manually compile the templates every time they are changed
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_versions/webpack.js')
-rw-r--r-- | apps/files_versions/webpack.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_versions/webpack.js b/apps/files_versions/webpack.js index 4b0f1e4f6bf..12024a39b57 100644 --- a/apps/files_versions/webpack.js +++ b/apps/files_versions/webpack.js @@ -28,6 +28,10 @@ module.exports = { options: { name: '[name].[ext]?[hash]' } + }, + { + test: /\.handlebars$/, + loader: "handlebars-loader" } ] }, |