Shopify / sprockets-commoner

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

Ensure that a coffeescript file contains an identifier if needed #33

Closed bouk closed 8 years ago

bouk commented 8 years ago

This PR makes sure that if a coffeescript file is required and an identifier is used from said file, the file needs to contain an identifier. Previously this could cause misconfigurations to lead to silently replacing the module with an empty namespace.

@lemonmade @GoodForOneFare

GoodForOneFare commented 8 years ago

👍