Last Updated: February 25, 2016
·
1.034K
· 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:

<assets>
  <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="test.coffee" />
  <asset href="js/*.js" />
</assets>

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: https://github.com/endel/lazy-assets

1 Response
Add your response

Many thanks for this! This is awesome :)

over 1 year ago ·