Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "fix(gatsby): Update mini-css-extract-plugin to fix inc builds issue (#33979)" #34413

Merged
merged 2 commits into from
Jan 6, 2022

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Jan 6, 2022

Description

This partially reverts commit 725dc36.

While #33979 fixed #33450 issues with e.g. raw-loader showed up. The syntax for inline loader syntax changed: https://webpack.js.org/guides/asset-modules/#replacing-inline-loader-syntax

It's a breaking change we can't make 😢

We'll need to revert the actual change (but keep the tests from the PR) and do this in the next major of Gatsby.

Note: Probably should use asset instead of asset/resource in next PR to have base64 inlining working.

Related Issues

#33979
#33450

@LekoArts LekoArts added the topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) label Jan 6, 2022
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 6, 2022
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 6, 2022
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sad, but has to be done

@pieh pieh merged commit 26a94f2 into master Jan 6, 2022
@pieh pieh deleted the revert-33979 branch January 6, 2022 15:56
ESnark added a commit to ESnark/gatsby-starter-developer-diary that referenced this pull request Nov 15, 2023
An error occurs during build time:
Error: ObjectMiddleware.register: serializer for mini-css-extract-plugin/dist/CssModule/null is already registered

Possible causes:
gatsbyjs/gatsby#34413
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

First incremental build rebuilds all HTML pages
2 participants