browserify-rails icon indicating copy to clipboard operation
browserify-rails copied to clipboard

Handling pre-browserified / umd sources

Open rymohr opened this issue 10 years ago • 2 comments

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 avatar Jul 03 '14 04:07 rymohr

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

rymohr avatar Jul 03 '14 19:07 rymohr

@hsume2 @CQQL thoughts?

rymohr avatar Aug 30 '14 01:08 rymohr