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 tree shaking #127

Open
kybishop opened this issue Apr 8, 2017 · 3 comments
Open

CSS tree shaking #127

kybishop opened this issue Apr 8, 2017 · 3 comments
Assignees
Labels

Comments

@kybishop
Copy link
Collaborator

kybishop commented Apr 8, 2017

As per https://vimeo.com/172508586

Make a list of the attributes and elements used during build time; only include the relevant styles.

Will spike an RFC of this soon with thoughts on how to implement. The only tricky bit is where to store the intermediate list such that the scss compiler can get to it.

@kybishop kybishop self-assigned this Apr 14, 2017
@kybishop
Copy link
Collaborator Author

Shifting focus to the long-term approach: https://github.com/html-next/optimizing-css-compiler

@RobbieTheWagner
Copy link
Member

Should we close this then @kybishop?

@kybishop
Copy link
Collaborator Author

Let's keep it open incase anyone else is curious about what we're doing regarding tree shaking, since it is mentioned in some of the talks on Flexi.

I'll eventually create a master issue regarding the CSS optimizer once I understand all the moving pieces we need to deal with to incorporate it into Flexi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants