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/files_sharing | |
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/files_sharing')
-rw-r--r-- | apps/files_sharing/webpack.js | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/apps/files_sharing/webpack.js b/apps/files_sharing/webpack.js index f016341f5a7..8ff9afd866a 100644 --- a/apps/files_sharing/webpack.js +++ b/apps/files_sharing/webpack.js @@ -1,5 +1,4 @@ const path = require('path'); -const { VueLoaderPlugin } = require('vue-loader'); module.exports = { entry: { @@ -12,31 +11,5 @@ module.exports = { publicPath: '/js/', filename: '[name].js', chunkFilename: 'files_sharing.[id].js' - - }, - module: { - rules: [ - { - test: /\.css$/, - use: ['vue-style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['vue-style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.vue$/, - loader: 'vue-loader' - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - } - ] - }, - plugins: [new VueLoaderPlugin()], - resolve: { - extensions: ['*', '.js', '.vue', '.json'] - }, -}; + } +} |