Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-05-24 15:08:39 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-05-29 16:19:18 +0300
commitb53a9130a60962fd2964d37b1ffafe1f3eaff5df (patch)
tree063c28661e65f9c5dec9b7e00c7d4ecea6e207d2 /apps/oauth2
parent21f9487939ecc0e37ca1dd5cecdde258cd55d89a (diff)
Unify webpack config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/oauth2')
-rw-r--r--apps/oauth2/webpack.js34
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'
+ }
}