flattenRequireJs: Emit an error if a module is referred both with and without a .js extension. Previously this would silently produce a broken build.
1.6.6