aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-04 09:56:50 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-13 16:13:00 +0200
commit73918b8af9626d445f8b58faed15b32dc195ce7f (patch)
tree6eefbb1d5cd1b793de6224d635dfbb40b3271fee /webpack.common.js
parent3e29e0ad13b427b6ba4b62c7a35497e9a75de976 (diff)
downloadnextcloud-server-73918b8af9626d445f8b58faed15b32dc195ce7f.tar.gz
nextcloud-server-73918b8af9626d445f8b58faed15b32dc195ce7f.zip
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/webpack.common.js b/webpack.common.js
index c8bcb740236..401ec6ef3f9 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -2,7 +2,6 @@
const { VueLoaderPlugin } = require('vue-loader')
const path = require('path')
const BabelLoaderExcludeNodeModulesExcept = require('babel-loader-exclude-node-modules-except')
-const ESLintPlugin = require('eslint-webpack-plugin')
const webpack = require('webpack')
const modules = require('./webpack.modules.js')
@@ -54,7 +53,9 @@ module.exports = {
const rel = path.relative(rootDir, info.absoluteResourcePath)
return `webpack:///nextcloud/${rel}`
},
- clean: true,
+ clean: {
+ keep: /icons\.css/, // Keep static icons css
+ },
},
module: {
@@ -138,7 +139,6 @@ module.exports = {
plugins: [
new VueLoaderPlugin(),
- new ESLintPlugin(),
new webpack.ProvidePlugin({
// Provide jQuery to jquery plugins as some are loaded before $ is exposed globally.
jQuery: 'jquery',