Open elliot-nelson opened 1 year ago
@elliot-nelson I've proposed some action items in this thread: https://github.com/microsoft/rushstack/issues/2981#issuecomment-1753453286
The underlying problem is that, in a large monorepo:
caniuse-lite
and 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. 😅
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:
The permanent solution is probably to periodically update the browserslist, but in a Docusaurus project it's unclear what is actually including it.