Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@chrisvfritz chrisvfritz released this 24 Dec 05:07
· 92 commits to master since this release

Breaking changes

  • JS errors now throw an error in the build rather than printing the errors to prerendered files
  • doctype is no longer stripped during prerendering (really a bug, but technically also a breaking change) (fixes #20)

New features

  • ES2015+ language features are now available during prerendering via core.js (fixes #5)
  • since JS errors now throw a fatal error, an ignoreJSErrors option is available to quietly swallow errors
  • a new postProcessHTML option is available for edge cases to (fixes #19)

Fixed bugs

  • capture page errors instead of printing them to the page, then add an ignoreJSErrors option
  • plugin now correctly reports when it's done
  • fixed failure on large files (#14)
  • doctype is no longer stripped during prerendering (fixes #20)