summaryrefslogtreecommitdiffstats
path: root/apps/comments
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/comments
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/comments')
-rw-r--r--apps/comments/webpack.js31
1 files changed, 2 insertions, 29 deletions
diff --git a/apps/comments/webpack.js b/apps/comments/webpack.js
index dff1aa0518f..b2413d148aa 100644
--- a/apps/comments/webpack.js
+++ b/apps/comments/webpack.js
@@ -1,4 +1,4 @@
-const path = require('path');
+const path = require('path')
module.exports = {
entry: path.join(__dirname, 'src', 'comments.js'),
@@ -7,34 +7,7 @@ module.exports = {
publicPath: '/js/',
filename: 'comments.js'
},
- module: {
- rules: [
- {
- test: /\.css$/,
- use: ['style-loader', 'css-loader']
- },
- {
- test: /\.scss$/,
- use: ['style-loader', 'css-loader', 'sass-loader']
- },
- {
- test: /\.js$/,
- loader: 'babel-loader',
- exclude: /node_modules/
- },
- {
- test: /\.(png|jpg|gif|svg)$/,
- loader: 'file-loader',
- options: {
- name: '[name].[ext]?[hash]'
- }
- }
- ]
- },
externals: {
jquery: 'jQuery'
- },
- resolve: {
- extensions: ['*', '.js']
}
-};
+}