michaelficarra / commonjs-everywhere

:rainbow: minimal CommonJS browser bundler with aliasing, extensibility, and source maps
BSD 3-Clause "New" or "Revised" License
158 stars 21 forks source link

warn when `require` is seen outside of `CallExpression` targets #85

Open michaelficarra opened 10 years ago

michaelficarra commented 10 years ago

This would be an indicator that require has been aliased, shadowed, or otherwise modified, and dependency resolution may not be complete.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1254215-warn-when-require-is-seen-outside-of-callexpression-targets?utm_campaign=plugin&utm_content=tracker%2F297897&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F297897&utm_medium=issues&utm_source=github).