Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shouldVisitChild: Check parent and child node previously deferred sep…
…arately (#7043)
- Loading branch information
Will Binns-Smith
committed
Oct 12, 2021
1 parent
2c83842
commit c78601b
Showing
10 changed files
with
80 additions
and
8 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
3 changes: 3 additions & 0 deletions
3
...egration-tests/test/integration/scope-hoisting/es6/unmarks-defer-for-assetgroup/index1.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,3 @@ | ||
import { barer } from './package'; | ||
|
||
output = barer; |
3 changes: 3 additions & 0 deletions
3
...egration-tests/test/integration/scope-hoisting/es6/unmarks-defer-for-assetgroup/index2.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,3 @@ | ||
import { barer, foo } from './package'; | ||
|
||
output = `${barer} ${foo}`; |
3 changes: 3 additions & 0 deletions
3
...egration-tests/test/integration/scope-hoisting/es6/unmarks-defer-for-assetgroup/index3.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,3 @@ | ||
import { barer, foo, bar } from './package'; | ||
|
||
output = `${barer} ${foo} ${bar}`; |
1 change: 1 addition & 0 deletions
1
...ion-tests/test/integration/scope-hoisting/es6/unmarks-defer-for-assetgroup/package/bar.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 const bar = 'bar'; |
1 change: 1 addition & 0 deletions
1
...n-tests/test/integration/scope-hoisting/es6/unmarks-defer-for-assetgroup/package/barer.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 {bar as barer} from "./bar"; |
1 change: 1 addition & 0 deletions
1
...ion-tests/test/integration/scope-hoisting/es6/unmarks-defer-for-assetgroup/package/foo.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 const foo = 'foo'; |
5 changes: 5 additions & 0 deletions
5
...n-tests/test/integration/scope-hoisting/es6/unmarks-defer-for-assetgroup/package/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,5 @@ | ||
export {foo} from './foo'; | ||
export {bar} from './bar'; | ||
export {barer} from './barer'; | ||
|
||
sideEffectNoop(module); |
3 changes: 3 additions & 0 deletions
3
...sts/test/integration/scope-hoisting/es6/unmarks-defer-for-assetgroup/package/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,3 @@ | ||
{ | ||
"sideEffects": ["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