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

Auto minimize vash templates? #94

Closed
steebchen opened this issue Nov 19, 2015 · 2 comments
Closed

Auto minimize vash templates? #94

steebchen opened this issue Nov 19, 2015 · 2 comments

Comments

@steebchen
Copy link

Is there a way I can minify the vash files with a middleware when they are send to the browser?

@kirbysayshi
Copy link
Owner

Sure, but it depends on how you're sending your templates to the browser. I'd like to offer guidance, but it's extremely difficult without knowing more about how you're shipping templates.

Generally you want to build all of your templates up into a single file, and send that to the browser. What kind of usage are you envisioning via middleware? Could you provide an example?

@kirbysayshi
Copy link
Owner

Hey @steebchen, if this is still an issue for you, please add some more details and reopen!

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

2 participants