Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2k
chore: Move css-loader and others into devDependencies#7407
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
In order to not install css-loader and its dependencies during a`npm install plotly.js`, turn them into devDependencies.
alexcjohnson left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
💃 This is great, absolutely these belong indevDependencies, thanks@hborchardt!
mattrunyon commentedMay 29, 2025
I found this right after I opened a ticket about how #7430 which I proposed moving to dev dep as a fix since that should prevent the dep from installing a deprecated stub for |
e4eaf44 intoplotly:masterUh oh!
There was an error while loading.Please reload this page.
aweebit commentedJul 8, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@alexcjohnson@archmoj is this going to be published soon? And is it possible to backport this to v2? In Yarn Classic, the fact that |
Uh oh!
There was an error while loading.Please reload this page.
Fixes#7430.
Some recent PRs (#7142,#7140) introduced the
css-loader,style-loaderandesbuild-style-pluginas dependencies. However it seems that they should be categorized as devDependencies instead, because they don't end up in the bundle, but are used to create the bundle.This poses a problem for me, as it causes
npm install plotly.jsto install significantly more dependencies than necessary.In order to not install css-loader and its dependencies during a
npm install plotly.js, turn them into devDependencies.