-
Notifications
You must be signed in to change notification settings - Fork 8
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
Minify CSS and JS #188
Comments
This would be good, but should be done with the static compilation. |
That's what I was hoping! I wasn't sure if you were planning on adding that On Fri, Jan 10, 2014 at 10:57 AM, Alexander Bauer
|
I'm actually just about to push a new commit making use of On Fri, Jan 10, 2014 at 08:04:29AM -0800, Luke Evers wrote:
|
The contents of static.go have been removed and replaced with the more flexible package staticdir, which will be more suitable to our future needs. This will allow us to fix @lukevers's new issue #188 much more easily by implementing our own CopyFunc. I had originally planned to delete static.go entirely, but I believe it makes more sense to keep it there with CompileStatic and whatever new CopyFunc we write.
I've found this golang package cssminify, but I haven't tested it out yet. I'm still looking for a golang JS minify package. |
Hi! @SashaCrofter note that jsmin is a direct port of Crockford's jsmin and thus covered by its "do no evil" license, which I think is incompatible with GPL. Also, since it's a direct [read: no-thinking] port, the code is crap, just like the original. I use my ports of jsmin and cssmin in production, and they work, but if someone finds better packages, written with Go in mind, I'd really suggest using them instead (and let me know about them :-). |
No description provided.
The text was updated successfully, but these errors were encountered: