From b53a9130a60962fd2964d37b1ffafe1f3eaff5df Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Fri, 24 May 2019 14:08:39 +0200 Subject: Unify webpack config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/oauth2/webpack.js | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) (limited to 'apps/oauth2') 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' + } } -- cgit v1.2.3