Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support { "some imports" as "some exports" } in systemjs
- Loading branch information
Showing
5 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...systemjs/test/fixtures/interop-module-string-names/export-from-string-as-string/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { "some imports" as "some exports" } from "foo"; |
10 changes: 10 additions & 0 deletions
10
...ystemjs/test/fixtures/interop-module-string-names/export-from-string-as-string/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
System.register(["foo"], function (_export, _context) { | ||
"use strict"; | ||
|
||
return { | ||
setters: [function (_foo) { | ||
_export("some exports", _foo["some imports"]); | ||
}], | ||
execute: function () {} | ||
}; | ||
}); |
1 change: 1 addition & 0 deletions
1
...m-modules-systemjs/test/fixtures/interop-module-string-names/export-from-string/input.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { "some exports" } from "foo"; |
10 changes: 10 additions & 0 deletions
10
...-modules-systemjs/test/fixtures/interop-module-string-names/export-from-string/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
System.register(["foo"], function (_export, _context) { | ||
"use strict"; | ||
|
||
return { | ||
setters: [function (_foo) { | ||
_export("some exports", _foo["some exports"]); | ||
}], | ||
execute: function () {} | ||
}; | ||
}); |