Skip to content

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hborchardt
Copy link
Contributor

Some recent PRs (#7142, #7140) introduced the css-loader, style-loader and esbuild-style-plugin as 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.js to 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.

In order to not install css-loader and its dependencies during a
`npm install plotly.js`, turn them into devDependencies.
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

Successfully merging this pull request may close these issues.

1 participant