From 4ed8ee1c1e8ada0e5d26f6e014896accc89d4d6a Mon Sep 17 00:00:00 2001
From: "John Molakvoæ (skjnldsv)" <skjnldsv@protonmail.com>
Date: Tue, 19 Jun 2018 06:26:57 +0200
Subject: Unify vue template design
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
---
 apps/updatenotification/webpack.common.js | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 apps/updatenotification/webpack.common.js

(limited to 'apps/updatenotification/webpack.common.js')

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']
+  }
+}
-- 
cgit v1.2.3