-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'github/v2' into wbinnssmith/live-reexports
- Loading branch information
Showing
16 changed files
with
93 additions
and
3 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...e/integration-tests/test/integration/scope-hoisting/es6/live-bindings-cross-bundle/a.html
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 @@ | ||
<script src="a.js"></script> |
4 changes: 4 additions & 0 deletions
4
...ore/integration-tests/test/integration/scope-hoisting/es6/live-bindings-cross-bundle/a.js
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,4 @@ | ||
import "./library/a.js"; | ||
import { a } from "./library/index.js"; | ||
|
||
output = a; |
1 change: 1 addition & 0 deletions
1
...e/integration-tests/test/integration/scope-hoisting/es6/live-bindings-cross-bundle/b.html
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 @@ | ||
<script src="b.js"></script> |
4 changes: 4 additions & 0 deletions
4
...ore/integration-tests/test/integration/scope-hoisting/es6/live-bindings-cross-bundle/b.js
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,4 @@ | ||
import "./library/a.js"; | ||
import { a } from "./library/index.js"; | ||
|
||
output = a; |
2 changes: 2 additions & 0 deletions
2
...gration-tests/test/integration/scope-hoisting/es6/live-bindings-cross-bundle/library/a.js
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 @@ | ||
import { b } from "./index.js"; | ||
export var a = "aaa"; |
1 change: 1 addition & 0 deletions
1
...gration-tests/test/integration/scope-hoisting/es6/live-bindings-cross-bundle/library/b.js
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 var b = "bbb"; |
2 changes: 2 additions & 0 deletions
2
...ion-tests/test/integration/scope-hoisting/es6/live-bindings-cross-bundle/library/index.js
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 @@ | ||
export { a } from "./a.js"; | ||
export { b } from "./b.js"; |
5 changes: 5 additions & 0 deletions
5
...gration-tests/test/integration/scope-hoisting/es6/live-bindings-cross-bundle/package.json
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,5 @@ | ||
{ | ||
"@parcel/bundler-default": { | ||
"minBundleSize": 0 | ||
} | ||
} |
Empty file.
11 changes: 11 additions & 0 deletions
11
...egration-tests/test/integration/scope-hoisting/es6/live-bindings-reexports-namespace/a.js
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,11 @@ | ||
import * as x from "./b.js"; | ||
|
||
function get(obj, prop) { | ||
return obj[prop]; | ||
} | ||
|
||
let a = get(x, "v"); | ||
get(x, "update")(); | ||
let b = get(x, "v"); | ||
|
||
output = [a, b]; |
1 change: 1 addition & 0 deletions
1
...egration-tests/test/integration/scope-hoisting/es6/live-bindings-reexports-namespace/b.js
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 {v, update} from "./c.js"; |
4 changes: 4 additions & 0 deletions
4
...egration-tests/test/integration/scope-hoisting/es6/live-bindings-reexports-namespace/c.js
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,4 @@ | ||
export let v = 1; | ||
export function update() { | ||
v++; | ||
} |
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
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