<p>During my time with ruby sprokets was a very usefull tool, but now working on Go I haven't found any similar tool for asset compression neither for asset managment. Any suggestion?</p>
<hr/>**评论:**<br/><br/>Bromlife: <pre><p>I went down this path for a while before I ended up just using exec + gulp & bower. </p>
<p>The Go tools just didn't quite cut it unfortunately.</p></pre>very-little-gravitas: <pre><p>You may find the code here useful for asset minification, concatenation, and fingerprinting, it's working fine for me so far and you could use it as a reference at least:</p>
<p><a href="https://github.com/fragmenta/assets" rel="nofollow">https://github.com/fragmenta/assets</a></p></pre>binaryblade: <pre><p>The std Lib has a full suite of compression algorithms.</p></pre>3zcurdia: <pre><p>this is not the kind of compression that I am looking for. I mean javascript minification and stylesheets compression</p></pre>slimsag: <pre><p>A bit of a 'mega package' here but <a href="https://github.com/tdewolff/minify" rel="nofollow">https://github.com/tdewolff/minify</a> might be what you're looking for?</p></pre>
Q: Is there any tool to compress assets or for an asset pipeline like rails has?
polaris · · 592 次点击这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传