Closed alunny closed 8 years ago
Babel 6 outputs module.default rather than module["default"] for default exports. This patch supports both formats.
module.default
module["default"]
See also jquery-support/globalize-compiler#12
:+1:
I've noticed this repo mixes two coding styles spacey (e.g., require( "foo" )) vs. non-spacey (e.g., require("foo")), but this can be addressed separately.
require( "foo" )
require("foo")
Babel 6 outputs
module.default
rather thanmodule["default"]
for default exports. This patch supports both formats.See also jquery-support/globalize-compiler#12