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

Project setup: browserslist outdated #198

Open
elliot-nelson opened this issue Sep 17, 2023 · 1 comment
Open

Project setup: browserslist outdated #198

elliot-nelson opened this issue Sep 17, 2023 · 1 comment

Comments

@elliot-nelson
Copy link
Collaborator

I noticed while building websites for the first time in quite a while, the build would fail due to output from caniuse.

I temporarily overrode the errors with:

export BROWSERSLIST_IGNORE_OLD_DATA=1

The permanent solution is probably to periodically update the browserslist, but in a Docusaurus project it's unclear what is actually including it.

@octogonz
Copy link
Collaborator

octogonz commented Oct 9, 2023

@elliot-nelson I've proposed some action items in this thread: microsoft/rushstack#2981 (comment)

The underlying problem is that, in a large monorepo:

  1. We often don't control the package that depends on caniuse-lite and
  2. We often don't care if it is outdated, despite caniuse-lite's political mission to pressure everybody to upgrade that one specific NPM package, even though many other NPM packages seem just as important to upgrade.

In the case of the rushstack-websites monorepo, caniuse-lite will get upgraded whenever Docusaurus is upgraded, and no we are not going to guarantee that Docusaurus gets upgraded every 6 months. It is a timeconsuming upgrade. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants