Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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',