Last Updated: February 25, 2016
· endel

lazy-assets: An opinionated and simple build-system

If you use Grunt/Gulp/whatever with bower, maybe this is for you.

With no extra-configuration, lazy-assets will allow you to turn this:

  <asset href="jquery" source="bower" />
  <asset href="bootstrap" source="bower" />
  <asset href="ractive" source="bower" />
  <asset href="parsleyjs" source="bower" main="dist/parsley.min.js" />
  <asset href="datejs" source="bower" main="build/date.js" />
  <asset href="app.js" compile="browserify" />
  <asset href="test.less" />
  <asset href="" />
  <asset href="js/*.js" />

Into this:

<link href="index.css?533afd8c542ee" rel="stylesheet" media="all" type="text/css" />
<script type="text/javascript" src="index.js?533afd8c542fd"></script>

Read more at:

1 Response
Add your response

Many thanks for this! This is awesome :)

over 1 year ago ·