hsume2 / browserify-rails

Deprecated https://github.com/browserify-rails/browserify-rails
MIT License
57 stars 11 forks source link

Handling pre-browserified / umd sources #28

Open rymohr opened 10 years ago

rymohr commented 10 years ago

The current approach wraps all scripts containing module.exports. In some cases I'm finding this ends up hiding libraries that were previously browserified or written as umd modules.

Should these be skipped instead?

rymohr commented 10 years ago

Here's my temporary workaround: https://github.com/rymohr/browserify-rails/commit/b804c3ce51c1e5c14e6c827f4951b9908770c050

rymohr commented 10 years ago

@hsume2 @CQQL thoughts?