webpack/enhanced-require — pull request #7 by bitplanets (2014-12-05 10:38:20+00:00)
Title: Fix #6 Now you can also return value from define function like can be done with require.js

For example

define(function(require, exports, module){

var logic = {
a: 3
}
return logic;
});

will now work.

But this will continue to work too

define(function(require, exports, module){

var logic = {
a: 3
}
exports.a= logic.a;
});