Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c22c3f
commit 0b7a97f
Showing
13 changed files
with
148 additions
and
19 deletions.
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
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
...bel-plugin-transform-modules-systemjs/test/fixtures/systemjs/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 { foo as "some exports" } from "foo"; |
10 changes: 10 additions & 0 deletions
10
...el-plugin-transform-modules-systemjs/test/fixtures/systemjs/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.foo); | ||
}], | ||
execute: function () {} | ||
}; | ||
}); |
2 changes: 2 additions & 0 deletions
2
...m-modules-systemjs/test/fixtures/systemjs/export-named-string-can-be-identifier/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,2 @@ | ||
var foo, bar; | ||
export {foo as "defaultExports", bar}; |
15 changes: 15 additions & 0 deletions
15
...-modules-systemjs/test/fixtures/systemjs/export-named-string-can-be-identifier/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,15 @@ | ||
System.register([], function (_export, _context) { | ||
"use strict"; | ||
|
||
var foo, bar; | ||
|
||
_export({ | ||
foo: void 0, | ||
bar: void 0 | ||
}); | ||
|
||
return { | ||
setters: [], | ||
execute: function () {} | ||
}; | ||
}); |
2 changes: 2 additions & 0 deletions
2
...el-plugin-transform-modules-systemjs/test/fixtures/systemjs/export-named-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,2 @@ | ||
var foo, bar; | ||
export {foo as "default exports", bar}; |
15 changes: 15 additions & 0 deletions
15
...l-plugin-transform-modules-systemjs/test/fixtures/systemjs/export-named-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,15 @@ | ||
System.register([], function (_export, _context) { | ||
"use strict"; | ||
|
||
var foo, bar; | ||
|
||
_export({ | ||
foo: void 0, | ||
bar: void 0 | ||
}); | ||
|
||
return { | ||
setters: [], | ||
execute: function () {} | ||
}; | ||
}); |
3 changes: 3 additions & 0 deletions
3
...-modules-systemjs/test/fixtures/systemjs/imports-named-string-can-be-identifier/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,3 @@ | ||
import { "defaultImports" as bar} from "foo"; | ||
|
||
bar; |
13 changes: 13 additions & 0 deletions
13
...modules-systemjs/test/fixtures/systemjs/imports-named-string-can-be-identifier/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,13 @@ | ||
System.register(["foo"], function (_export, _context) { | ||
"use strict"; | ||
|
||
var bar; | ||
return { | ||
setters: [function (_foo) { | ||
bar = _foo["defaultImports"]; | ||
}], | ||
execute: function () { | ||
bar; | ||
} | ||
}; | ||
}); |
3 changes: 3 additions & 0 deletions
3
...l-plugin-transform-modules-systemjs/test/fixtures/systemjs/imports-named-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,3 @@ | ||
import {"default imports" as bar} from "foo"; | ||
|
||
bar; |
13 changes: 13 additions & 0 deletions
13
...-plugin-transform-modules-systemjs/test/fixtures/systemjs/imports-named-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,13 @@ | ||
System.register(["foo"], function (_export, _context) { | ||
"use strict"; | ||
|
||
var bar; | ||
return { | ||
setters: [function (_foo) { | ||
bar = _foo["default imports"]; | ||
}], | ||
execute: function () { | ||
bar; | ||
} | ||
}; | ||
}); |
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