Skip to content

Conversation

@zackangelo
Copy link
Contributor

What? Why?

This PR contains many changes and is likely to be broken down into several more, but posting diff at the request of @bookernath.

  • Introduces webpack to compile paper-handlebars and its dependencies into a single js file for use with the Blackbird experiment.
  • Removes any dynamic require statements so webpack can figure out what to include at compile time.
  • Introduces polyfills where necessary to remove any dependencies on node.js standard library (most notably url).
  • Removes the handlebars-helpers dependency and vendors the necessary helpers in this repo.
  • Vendors the Translator class from paper (for no other reason than its required for Blackbird), but also not clear to me why that class is in paper vs paper-handlebars.

How was it tested?

n/a


cc @bigcommerce/storefront-team

@zackangelo zackangelo added the WIP Work in progress label Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants