0.0.6
Pre-release
Pre-release
https://www.npmjs.com/package/rules_prerender/v/0.0.6
Changelog:
BREAKING CHANGES:
- Refs #24 - Removed
prerender_page_bundled()
. Users should migrate to useprerender_multi_page_bundled()
, just returning a singlePrerenderResource
object. - Refs #24 - Removes
prerender_page()
. Users should migrate to useprerender_multi_page()
, just returning a singlePrerenderResource
object. If a label referring to the generated file is desriable for post-processing, users should leverageextract_single_resource()
to convert the generated directory of one file into a pre-determined label referring to that file.
Other changes:
- Refs #24 - Adds
extract_single_resource()
. This accepts aweb_resources()
-compatible target which contains exactly one file and extracts that file to a predetermined label. This makes it easier to post-process generated files with tools that expect a single input file rather than a directory. Seeextract_single_resource()
docstring for more info and an example use case.