Ensure production builds do not use require internally.
Merge pull request #2429 from rwjblue/derequire

Ensure production builds do not use require internally.