v1.0.0
- 92eb86f - Change output format: now it returns full tree of assets for each resource
- a1b347b - Add
prettifyUrlsfeature - e7f8b80 - Add
urlFilterfeature - 00443b6 - Add
filnameGeneratorfeature - dc4ab93 - Use
lodashinstead ofunderscore - e88abb2 - Add missing extensions for html and css resources
Breaking changes
Changed output format.
Earlier - flat array of root resources was returned
[ { url: 'http://example.com', filename: 'index.html' } ];Now - tree of resources
[ {
url: 'http://example.com',
filename: 'index.html',
assets: [ // dependencies of index.html
{
url: 'http://example.com/style.css',
filename: 'style.css',
assets: [ // dependencies of style.css
{ url: 'http://example.com/img-from-styles.png', filename: 'img-from-styles.png', assets: [] },
]
}
/* other dependencies of index.html */
]
} ];