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

Code Splitting #39

Open
chriseppstein opened this issue Apr 3, 2019 · 0 comments
Open

Code Splitting #39

chriseppstein opened this issue Apr 3, 2019 · 0 comments

Comments

@chriseppstein
Copy link
Contributor

Once OptiCSS runs on an analysis, the styles can be split by using subsets of the analysis to produce a base stylesheet for styles shared across code splits or styles that weren't enumerated as a part of a code split. Styles specific to each code split will be extracted to a split css file.

TBD: rewrite data may still be centralized, or it might be split-able as well.

Note: With declaration merging enabled, the benefits of code-splitting may not result in enough savings to warrant the extra complexity.

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

1 participant