diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-05-04 09:56:50 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-05-13 16:13:00 +0200 |
commit | 73918b8af9626d445f8b58faed15b32dc195ce7f (patch) | |
tree | 6eefbb1d5cd1b793de6224d635dfbb40b3271fee /webpack.common.js | |
parent | 3e29e0ad13b427b6ba4b62c7a35497e9a75de976 (diff) | |
download | nextcloud-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.js | 6 |
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', |