Skip to content

0.0.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 20 Feb 22:59

https://www.npmjs.com/package/rules_prerender/v/0.0.6

Changelog:

BREAKING CHANGES:

  • Refs #24 - Removed prerender_page_bundled(). Users should migrate to use prerender_multi_page_bundled(), just returning a single PrerenderResource object.
  • Refs #24 - Removes prerender_page(). Users should migrate to use prerender_multi_page(), just returning a single PrerenderResource object. If a label referring to the generated file is desriable for post-processing, users should leverage extract_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 a web_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. See extract_single_resource() docstring for more info and an example use case.