summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/webpack.js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-06-08 15:39:26 +0200
committerJulius Härtl <jus@bitgrid.net>2020-07-15 09:24:51 +0200
commit5a1874910bbb87551bb0195b725279c9c1a33beb (patch)
tree2617abd68c8c4161a5f110d477fa3416a3f8a337 /apps/dashboard/webpack.js
parent544fcdb549381f233dbfd9ca57cf6e7afb490104 (diff)
downloadnextcloud-server-5a1874910bbb87551bb0195b725279c9c1a33beb.tar.gz
nextcloud-server-5a1874910bbb87551bb0195b725279c9c1a33beb.zip
Add dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard/webpack.js')
-rw-r--r--apps/dashboard/webpack.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/dashboard/webpack.js b/apps/dashboard/webpack.js
new file mode 100644
index 00000000000..ac455498920
--- /dev/null
+++ b/apps/dashboard/webpack.js
@@ -0,0 +1,11 @@
+const path = require('path')
+
+module.exports = {
+ entry: path.join(__dirname, 'src', 'main.js'),
+ output: {
+ path: path.resolve(__dirname, './js'),
+ publicPath: '/js/',
+ filename: 'dashboard.js',
+ jsonpFunction: 'webpackJsonpDashboard'
+ }
+}