bigcommerce / paper-handlebars

Paper plugin for rendering via Handlebars.js
BSD 4-Clause "Original" or "Old" License
12 stars 36 forks source link

feat: add precompile error for renderString #322

Closed jairo-bc closed 1 month ago

jairo-bc commented 1 month ago

What? Why?

Add Precompile Error for renderString.

EmailRenderer had validation logic that was relying on another error type that is not thrown anymore, so had to add a new type

How was it tested?

npm test / email-renderer


cc @bigcommerce/storefront-team

bc-max commented 1 month ago

@jairo-bc can you please add some screenshots before -> after

github-actions[bot] commented 1 month ago

:tada: This PR is included in version 5.11.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: