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

CSS splitting on production builds #190

Closed
intrnl opened this issue May 19, 2020 · 1 comment
Closed

CSS splitting on production builds #190

intrnl opened this issue May 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@intrnl
Copy link
Contributor

intrnl commented May 19, 2020

Is your feature request related to a problem? Please describe.
Large apps might have large CSS bundles, and most of the time not all of it is useful when you only look at a single page.

Describe the solution you'd like
Those kinds of apps usually have lazy loaded components and routes already, and those are automatically split into individual chunks, so it would be great if the CSS is also split into individual chunks too.

Describe alternatives you've considered
Using CSS-in-JS, putting individual styles on the public folder and then importing them later on. The latter isn't doable of course, and the former doesn't really fit everyone's taste buds.

Additional context
None.

@yyx990803 yyx990803 added the enhancement New feature or request label May 19, 2020
@yyx990803
Copy link
Member

Yeah, this is something on the roadmap.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants