Skip to content

Releases: aralroca/prerender-macro

0.1.1

27 Mar 17:46
Compare
Choose a tag to compare

What's Changed

  • feat: add try-catch to macro execution by @aralroca in #5
  • docs: add kitajs/html example and tests by @aralroca in #6

Full Changelog: 0.1.0...0.1.1

0.1.0

24 Mar 11:11
Compare
Choose a tag to compare

Version 0.1.0 Release Notes

Features:

  • Prerender Macro Plugin: Introducing prerender-macro plugin for Bun, enabling the prerendering of JSX components using macros.
  • Hybrid Page Support: Allows creating hybrid pages with both dynamic and static components for improved performance.
  • Framework Agnostic: Compatible with various JSX frameworks.
  • Customizable Configuration: Supports configuration for rendering and post-rendering actions.
  • Examples: Provided configuration examples for Brisa, React, and Preact frameworks.

How to Get Started:

To start using prerender-macro:

  1. Install the package using bun install prerender-macro.
  2. Configure the prerenderConfig object in your project, specifying the rendering and post-rendering functions.
  3. Integrate the plugin in your Bun build process.
  4. Enjoy the benefits of prerendering static components for improved performance.

For detailed usage instructions and examples, refer to the updated README.

Contributing:

Contributions are welcome! Check out the Contributing Guide for instructions on how to contribute to the project.

License:

This project is licensed under the MIT License.

For more details, refer to the LICENSE file in the repository.

Full Changelog: https://github.com/aralroca/prerender-macro/commits/0.1.0