Inner `require` conflicts with browserify #42

Open
gobwas opened this Issue Apr 23, 2014 · 5 comments

5 participants

@gobwas

When bundling my code with move.js included, browserify tries parse inner require method. Any way how can I avoid it? Renaming locally inner require to _require does help.

Thanks.

@yields

i think that's a bug in browserify ? not sure.

@ben-eb

Yup, same issue. I would love a move.js build that was compatible with a browserify pipeline. Are there any plans for one?

@d-oliveros

Same issue here. Trying to make it work with browserify-shim, but those requires are breaking it.

@yields

does this fix it?

browserify --noparse move.js main.js > bundle.js
@axelpale

This browserify issue is strongly related to the package.json issue. Fortunately I'm on a verge of solving it for good. A pull request appearing in a couple of hours!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment