diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-19 06:26:57 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-29 09:08:33 +0200 |
commit | 4ed8ee1c1e8ada0e5d26f6e014896accc89d4d6a (patch) | |
tree | 7242c4f94ca44e88bb8acd3e920f21ec9904b8da /apps/updatenotification/webpack.common.js | |
parent | 790c897d98efcbea54dd47407e34d93d928e600e (diff) | |
download | nextcloud-server-4ed8ee1c1e8ada0e5d26f6e014896accc89d4d6a.tar.gz nextcloud-server-4ed8ee1c1e8ada0e5d26f6e014896accc89d4d6a.zip |
Unify vue template design
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/updatenotification/webpack.common.js')
-rw-r--r-- | apps/updatenotification/webpack.common.js | 28 |
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'] + } +} |