diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-05-24 14:08:39 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-05-29 15:19:18 +0200 |
commit | b53a9130a60962fd2964d37b1ffafe1f3eaff5df (patch) | |
tree | 063c28661e65f9c5dec9b7e00c7d4ecea6e207d2 /apps/oauth2 | |
parent | 21f9487939ecc0e37ca1dd5cecdde258cd55d89a (diff) | |
download | nextcloud-server-b53a9130a60962fd2964d37b1ffafe1f3eaff5df.tar.gz nextcloud-server-b53a9130a60962fd2964d37b1ffafe1f3eaff5df.zip |
Unify webpack config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/oauth2')
-rw-r--r-- | apps/oauth2/webpack.js | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/apps/oauth2/webpack.js b/apps/oauth2/webpack.js index 1242695240c..dfaf0324eed 100644 --- a/apps/oauth2/webpack.js +++ b/apps/oauth2/webpack.js @@ -1,32 +1,10 @@ const path = require('path') -const { VueLoaderPlugin } = require('vue-loader'); module.exports = { - entry: path.join(__dirname, 'src', 'main.js'), - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js', - filename: 'oauth2.js' - }, - module: { - rules: [ - { - test: /\.vue$/, - loader: 'vue-loader' - }, - { - test: /\.css$/, - use: ['vue-style-loader', 'css-loader'] - }, - ] - }, - plugins: [ - new VueLoaderPlugin() - ], - resolve: { - alias: { - 'vue$': 'vue/dist/vue.esm.js' - }, - extensions: ['*', '.js', '.vue', '.json'] - } + entry: path.join(__dirname, 'src', 'main.js'), + output: { + path: path.resolve(__dirname, './js'), + publicPath: '/js', + filename: 'oauth2.js' + } } |