tobie/module-grapher — Issue #6: Dead code removal should occur before static analysis
Author: jtaby
Created: 2012-01-11 23:07:42+00:00
State: open

If I wrap calls to require() in if(__DEV__) blocks, then the require should get removed before module-grapher tries to determine what modules to include in a build. That way, we can require modules at development-time only, and not impact production builds.