summaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-05-13 17:28:40 +0200
committerGitHub <noreply@github.com>2022-05-13 17:28:40 +0200
commitaff37408a6177b3ea190a269f50ffa7b131dd59f (patch)
tree9d06058691af957fcf48d6bb9a500ddc68acf142 /webpack.common.js
parent9de0e77ee016c00973720b79069e9c931090390c (diff)
parent264adf0c3bb8876dde04b2fb93c5554aae91aa9c (diff)
downloadnextcloud-server-aff37408a6177b3ea190a269f50ffa7b131dd59f.tar.gz
nextcloud-server-aff37408a6177b3ea190a269f50ffa7b131dd59f.zip
Merge pull request #32261 from nextcloud/feat/remove-scss-support
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',