Shopify / sprockets-commoner

Use Babel in Sprockets to compile JavaScript modules for the browser
MIT License
182 stars 22 forks source link

Add support for automatic use of expose directives from other files #34

Closed bouk closed 7 years ago

bouk commented 7 years ago

@lemonmade @rafaelfranca @GoodForOneFare

This PR instruments the commoner bundler to retrieve the global identifiers of any files that are required, but not included in the bundle (that is, they were stubbed). It then uses these global identifiers to fulfill the references.

lemonmade commented 7 years ago

Looks great 👍

rafaelfranca commented 7 years ago

:+1: