summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
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/files_versions
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/files_versions')
-rw-r--r--apps/files_versions/webpack.js35
1 files changed, 2 insertions, 33 deletions
diff --git a/apps/files_versions/webpack.js b/apps/files_versions/webpack.js
index 12024a39b57..d8e9f413351 100644
--- a/apps/files_versions/webpack.js
+++ b/apps/files_versions/webpack.js
@@ -1,4 +1,4 @@
-const path = require('path');
+const path = require('path')
module.exports = {
entry: path.join(__dirname, 'src', 'files_versions.js'),
@@ -6,36 +6,5 @@ module.exports = {
path: path.resolve(__dirname, 'js'),
publicPath: '/js/',
filename: 'files_versions.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]'
- }
- },
- {
- test: /\.handlebars$/,
- loader: "handlebars-loader"
- }
- ]
- },
- resolve: {
- extensions: ['*', '.js']
}
-};
+}