summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/webpack.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-05-24 14:08:39 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-05-29 15:19:18 +0200
commitb53a9130a60962fd2964d37b1ffafe1f3eaff5df (patch)
tree063c28661e65f9c5dec9b7e00c7d4ecea6e207d2 /apps/updatenotification/webpack.js
parent21f9487939ecc0e37ca1dd5cecdde258cd55d89a (diff)
downloadnextcloud-server-b53a9130a60962fd2964d37b1ffafe1f3eaff5df.tar.gz
nextcloud-server-b53a9130a60962fd2964d37b1ffafe1f3eaff5df.zip
Unify webpack config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/updatenotification/webpack.js')
-rw-r--r--apps/updatenotification/webpack.js26
1 files changed, 2 insertions, 24 deletions
diff --git a/apps/updatenotification/webpack.js b/apps/updatenotification/webpack.js
index cdaad96f4b0..a13e823e169 100644
--- a/apps/updatenotification/webpack.js
+++ b/apps/updatenotification/webpack.js
@@ -1,5 +1,4 @@
-const path = require('path');
-const { VueLoaderPlugin } = require('vue-loader');
+const path = require('path')
module.exports = {
entry: path.join(__dirname, 'src', 'init.js'),
@@ -7,26 +6,5 @@ module.exports = {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'updatenotification.js'
- },
- module: {
- rules: [
- {
- test: /\.vue$/,
- loader: 'vue-loader'
- },
- {
- test: /\.js$/,
- loader: 'babel-loader',
- exclude: /node_modules/
- },
- {
- test: /\.s[a|c]ss$/,
- loader: 'style-loader!css-loader!sass-loader'
- }
- ]
- },
- plugins: [new VueLoaderPlugin()],
- resolve: {
- extensions: ['*', '.js', '.vue', '.json']
}
-};
+}