opencomponents / oc-client-browser

The OpenComponents Browser client
MIT License
6 stars 8 forks source link

add compile sync function #104

Closed ricardo-devis-agullo closed 1 year ago

ricardo-devis-agullo commented 1 year ago

This exports a new compileSync function that does the same thing as compile but in a sync fashion. Useful in situations where you want to serve a compiled version on the server and compile right when starting the server, so you don't have to wrap it in functions and have it as modular constant to use later.