summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/webpack.common.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-29 10:36:04 +0200
committerGitHub <noreply@github.com>2018-06-29 10:36:04 +0200
commit3ff3141a1e4c9482ddaa68e13f545eb7e62ff9b7 (patch)
treee5f2493a52d1fbb803c646398ae1c9389fc65d0f /apps/updatenotification/webpack.common.js
parent79f16f9d46823377a55e8ce9708ebc2629d33db6 (diff)
parent11f26be545fed6f6f4339c31c056e1a994f2b093 (diff)
downloadnextcloud-server-3ff3141a1e4c9482ddaa68e13f545eb7e62ff9b7.tar.gz
nextcloud-server-3ff3141a1e4c9482ddaa68e13f545eb7e62ff9b7.zip
Merge pull request #9705 from nextcloud/feature/9163/whatsnew-admin-gui
display whats new info in admin settings
Diffstat (limited to 'apps/updatenotification/webpack.common.js')
-rw-r--r--apps/updatenotification/webpack.common.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/updatenotification/webpack.common.js b/apps/updatenotification/webpack.common.js
new file mode 100644
index 00000000000..7d2bbfae74e
--- /dev/null
+++ b/apps/updatenotification/webpack.common.js
@@ -0,0 +1,28 @@
+const path = require('path')
+const { VueLoaderPlugin } = require('vue-loader');
+
+module.exports = {
+ entry: path.join(__dirname, 'src', 'init.js'),
+ output: {
+ path: path.resolve(__dirname, './js'),
+ publicPath: '/js/',
+ filename: 'updatenotification.js'
+ },
+ module: {
+ rules: [
+ {
+ test: /\.vue$/,
+ loader: 'vue-loader',
+ }
+ ]
+ },
+ plugins: [
+ new VueLoaderPlugin()
+ ],
+ resolve: {
+ alias: {
+ 'vue$': 'vue/dist/vue.esm.js'
+ },
+ extensions: ['*', '.js', '.vue', '.json']
+ }
+}