experiments with a production mode and enhancement to ```isRequired```

* make isRequired identify require('foo').bar correctly