Fix export from assignment order for loose mode. (#6863)

* Consider reexports for bindingKindLookup.

* Update test cases according to reexports change

* Fix order for assign reexports.

* void 0 assignation to module keys only for loose mode.

* Create buildReexportsFromMeta helper.

* Update umd/amd fixtures.

* Refactor reexports build.

* Hoist template for reexports.

* Use map as a second argument of Array.from.

* Remove unnecessary export.
This commit is contained in:
Artem Yavorsky
2017-11-29 21:58:29 +02:00
committed by Logan Smyth
parent d731acc351
commit 0a2a37c31f
21 changed files with 87 additions and 39 deletions

View File

@@ -16,7 +16,6 @@ export default function(api, options) {
strict,
strictMode,
noInterop,
// Defaulting to 'true' for now. May change before 7.x major.
allowCommonJSExports = true,
} = options;