Skip to content

v0.2.5 Assets compression

Compare
Choose a tag to compare
@alchaplinsky alchaplinsky released this 28 Nov 05:51
· 89 commits to master since this release
  • Component generator now generates separate .html, .css and .js files which will be compiled into single component file.
  • Support of .css.sass and .js.coffee extenstions. Stylesheets and javascripts can now be referenced in html component simply as <link href="component.css" /> and <script src="component.js"/>
  • Assets compression. Now stylesheets and javascripts are being compressed while inlining into component if rails config enables compression (like in production env).
  • Support of relative paths. You can now reference component's css and js files either relative to /app/assets/components directory or relative to specific component directory (which means you can cpecify file name only if all component files live in same directory).