aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-03-16 20:06:53 +0100
committerGitHub <noreply@github.com>2023-03-16 15:06:53 -0400
commit4b722068058931ab2734955a6b4120d5fa3d0830 (patch)
tree0e0c8f0feeb69fb1650d721a51037f46454eebed /webpack.config.js
parent6bad0fb24f0a2549da42d3d143be9f355712e8b3 (diff)
downloadgitea-4b722068058931ab2734955a6b4120d5fa3d0830.tar.gz
gitea-4b722068058931ab2734955a6b4120d5fa3d0830.zip
Update mini-css-extract-plugin, remove postcss (#23520)
Follow-up and proper fix for https://github.com/go-gitea/gitea/pull/23504 Update to [mini-css-extract-plugin@2.7.4](https://github.com/webpack-contrib/mini-css-extract-plugin/releases/tag/v2.7.4) which fixes our specific issue described in https://github.com/webpack-contrib/css-loader/issues/1503 and which allows us to again drop the postcss dependency. Backport of this is not necessary as I have included it in https://github.com/go-gitea/gitea/pull/23508. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 69a306a024..ec8a195940 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -145,23 +145,10 @@ export default {
loader: 'css-loader',
options: {
sourceMap: true,
- importLoaders: 1,
url: {filter: filterCssImport},
import: {filter: filterCssImport},
},
},
- {
- loader: 'postcss-loader', /* for conditional import in theme-auto.css */
- options: {
- sourceMap: true,
- postcssOptions: {
- plugins: [
- 'postcss-import',
- 'postcss-url',
- ],
- },
- },
- },
],
},
{