+1 - this is why I love requirejs - lazy load modules in development, compile for QA and deployment.
Update: My other love for requirejs is that you don't need to use relative paths when requiring a module. Once you have a relative path, you can't change the location of either dependant or dependency. The require config lets you separate what you call the module from the location of the file.