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

Webpack 5 compatibility with MDS site #381

Closed
wants to merge 34 commits into from
Closed

Webpack 5 compatibility with MDS site #381

wants to merge 34 commits into from

Conversation

juanca
Copy link
Contributor

@juanca juanca commented Sep 21, 2021

Motivation

In order to get bigmaven working with Webpack 5, we need our MDS sites to be Webpack 5 compatible.

Acceptance Criteria

  • MDS site loads
  • MDS site looks good
  • MDS site components work as expected

PR upkeep checklist

fix(webpack): ensure rules are iterable
fix(site): ensure icons page does not use NodeJS#path
@juanca juanca added site refactor No change in behavior--just in design or readability labels Sep 21, 2021
@juanca juanca self-assigned this Sep 21, 2021
@juanca juanca requested a review from Bloodyaugust September 21, 2021 20:19
Copy link
Contributor

@Bloodyaugust Bloodyaugust left a comment

Choose a reason for hiding this comment

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

LGTM!

package.json Outdated Show resolved Hide resolved
styleguide/cypress/integration/styleguide-spec.js Outdated Show resolved Hide resolved
styleguide/webpack.config.js Show resolved Hide resolved
@@ -1,10 +1,8 @@
/* eslint-disable import/no-commonjs */

const path = require('path');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can no longer use NodeJS packages in the browser. It was easy to switch to string manipulation instead.

@juanca
Copy link
Contributor Author

juanca commented Jan 27, 2022

Finally got react-styleguidist to work. Now I need to figure out some memory leaks during production asset compilation in bigmaven...

@juanca juanca marked this pull request as draft February 28, 2022 17:36
@juanca
Copy link
Contributor Author

juanca commented Aug 16, 2022

Repo is moved into bigmaven. Closing.

@juanca juanca closed this Aug 16, 2022
@juanca juanca deleted the webpack_5 branch August 16, 2022 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor No change in behavior--just in design or readability site
Development

Successfully merging this pull request may close these issues.

2 participants