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

mini-css-extract-plugin 2.5.0 breaks building docs #11120

Closed
pomek opened this issue Jan 17, 2022 · 1 comment
Closed

mini-css-extract-plugin 2.5.0 breaks building docs #11120

pomek opened this issue Jan 17, 2022 · 1 comment
Assignees
Labels
squad:platform Issue to be handled by the Platform team. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@pomek
Copy link
Member

pomek commented Jan 17, 2022

πŸ“ Provide detailed reproduction steps (if any)

Building docs should not throw an error.

βœ”οΈ Expected result

No errors.

❌ Actual result

TypeError: MiniCssExtractPlugin is not a constructor
    at getWebpackConfig (/home/travis/build/cksource/ckeditor5-integration-ci/ckeditor5/scripts/docs/snippetadapter.js:400:4)

❓ Possible solution

mini-css-extract-plugin was published with a new version.

image

Unfortunately, it is not compatible with the same major version. See: webpack-contrib/mini-css-extract-plugin#896.

Let's downgrade manually.

@pomek pomek added type:bug This issue reports a buggy (incorrect) behavior. squad:platform Issue to be handled by the Platform team. labels Jan 17, 2022
@pomek pomek added this to the iteration 50 milestone Jan 17, 2022
@pomek pomek self-assigned this Jan 17, 2022
@pomek pomek closed this as completed in 17dbe41 Jan 17, 2022
@pomek
Copy link
Member Author

pomek commented Jan 17, 2022

I pinned two different versions due to migration to webpack 5 in this iteration:

  • stable: 0.12.0
  • master: 2.4.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
squad:platform Issue to be handled by the Platform team. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

1 participant