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

Make stylesheets external & cacheable #10

Closed
bfirsh opened this issue Jul 31, 2017 · 1 comment · Fixed by #324
Closed

Make stylesheets external & cacheable #10

bfirsh opened this issue Jul 31, 2017 · 1 comment · Fixed by #324

Comments

@bfirsh
Copy link
Member

bfirsh commented Jul 31, 2017

Currently, everything is just injected into <head>, which is probably not ideal.

Also, let's not write CSS inside strings inside JavaScript. It's horrible.

@bfirsh bfirsh assigned bfirsh and unassigned bfirsh Jul 31, 2017
@bfirsh
Copy link
Member Author

bfirsh commented May 7, 2018

In #255 we're going to be bringing in all the CSS, so this will become much easier.

Perhaps we should have postinstall step that compiles a CSS file that can be included in Engrafo output. An Engrafo option could be used to point at an external CSS file that can be cached. It could even point at a cdnjs URL.

In development, we could build the CSS file on each conversion.

@bfirsh bfirsh mentioned this issue Jun 11, 2018
20 tasks
bfirsh added a commit that referenced this issue Jun 17, 2018
bfirsh added a commit that referenced this issue Jun 17, 2018
bfirsh added a commit that referenced this issue Jun 18, 2018
bfirsh added a commit that referenced this issue Jun 18, 2018
bfirsh added a commit that referenced this issue Jun 18, 2018
bfirsh added a commit that referenced this issue Jun 18, 2018
bfirsh added a commit that referenced this issue Jun 18, 2018
bfirsh added a commit that referenced this issue Jun 19, 2018
bfirsh added a commit that referenced this issue Jun 21, 2018
bfirsh added a commit that referenced this issue Jun 22, 2018
bfirsh added a commit that referenced this issue Jul 3, 2018
bfirsh added a commit that referenced this issue Jul 4, 2018
bfirsh added a commit that referenced this issue Jul 4, 2018
bfirsh added a commit that referenced this issue Jul 4, 2018
bfirsh added a commit that referenced this issue Jul 4, 2018
bfirsh added a commit that referenced this issue Jul 4, 2018
bfirsh added a commit that referenced this issue Jul 4, 2018
bfirsh added a commit that referenced this issue Jul 4, 2018
bfirsh added a commit that referenced this issue Jul 5, 2018
bfirsh added a commit that referenced this issue Jul 5, 2018
bfirsh added a commit that referenced this issue Jul 5, 2018
bfirsh added a commit that referenced this issue Jul 5, 2018
bfirsh added a commit that referenced this issue Jul 5, 2018
bfirsh added a commit that referenced this issue Jul 6, 2018
bfirsh added a commit that referenced this issue Jul 6, 2018
bfirsh added a commit that referenced this issue Jul 6, 2018
bfirsh added a commit that referenced this issue Jul 9, 2018
bfirsh added a commit that referenced this issue Jul 9, 2018
bfirsh added a commit that referenced this issue Jul 9, 2018
bfirsh added a commit that referenced this issue Jul 9, 2018
bfirsh added a commit that referenced this issue Jul 18, 2018
bfirsh added a commit that referenced this issue Jul 20, 2018
bfirsh added a commit that referenced this issue Aug 17, 2018
bfirsh added a commit that referenced this issue Aug 17, 2018
bfirsh added a commit that referenced this issue Aug 18, 2018
bfirsh added a commit that referenced this issue Aug 18, 2018
bfirsh added a commit that referenced this issue Aug 18, 2018
bfirsh added a commit that referenced this issue Aug 19, 2018
bfirsh added a commit that referenced this issue Aug 19, 2018
bfirsh added a commit that referenced this issue Aug 20, 2018
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 a pull request may close this issue.

1 participant