Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use id of last module in chunk as name base for auto-generated chunks
- Loading branch information
1 parent
e4f44c0
commit e3e7443
Showing
725 changed files
with
740 additions
and
743 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/basic-chunking/_expected/amd/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/basic-chunking/_expected/amd/main2.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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/basic-chunking/_expected/cjs/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/basic-chunking/_expected/cjs/main2.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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/basic-chunking/_expected/es/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/basic-chunking/_expected/es/main2.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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/basic-chunking/_expected/system/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/basic-chunking/_expected/system/main2.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
10 changes: 0 additions & 10 deletions
10
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/amd/generated-chunk2.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/amd/generated-shared2.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,10 @@ | ||
define(['exports', './generated-dep1', './generated-dep2'], function (exports, dep1, dep2) { 'use strict'; | ||
|
||
var x = dep1.x + 1; | ||
|
||
var y = dep2.x + 1; | ||
|
||
exports.x = x; | ||
exports.y = y; | ||
|
||
}); |
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/amd/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/amd/main2.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/amd/main3.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/amd/main4.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
11 changes: 0 additions & 11 deletions
11
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/cjs/generated-chunk2.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/cjs/generated-shared2.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 @@ | ||
'use strict'; | ||
|
||
var dep1 = require('./generated-dep1.js'); | ||
var dep2 = require('./generated-dep2.js'); | ||
|
||
var x = dep1.x + 1; | ||
|
||
var y = dep2.x + 1; | ||
|
||
exports.x = x; | ||
exports.y = y; |
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/cjs/main1.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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
'use strict'; | ||
|
||
require('./generated-chunk.js'); | ||
var shared2 = require('./generated-chunk2.js'); | ||
require('./generated-chunk3.js'); | ||
require('./generated-dep1.js'); | ||
var shared2 = require('./generated-shared2.js'); | ||
require('./generated-dep2.js'); | ||
|
||
console.log(shared2.x + shared2.y); |
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/cjs/main2.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
|
||
require('./generated-chunk.js'); | ||
require('./generated-chunk2.js'); | ||
require('./generated-chunk3.js'); | ||
require('./generated-dep1.js'); | ||
require('./generated-shared2.js'); | ||
require('./generated-dep2.js'); | ||
|
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/cjs/main3.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
'use strict'; | ||
|
||
require('./generated-chunk.js'); | ||
require('./generated-dep1.js'); | ||
|
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/cjs/main4.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
'use strict'; | ||
|
||
require('./generated-chunk3.js'); | ||
require('./generated-dep2.js'); | ||
|
8 changes: 0 additions & 8 deletions
8
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/es/generated-chunk2.js
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/es/generated-shared2.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,8 @@ | ||
import { x as x$1 } from './generated-dep1.js'; | ||
import { x as x$2 } from './generated-dep2.js'; | ||
|
||
var x = x$1 + 1; | ||
|
||
var y = x$2 + 1; | ||
|
||
export { x, y }; |
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/es/main1.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import './generated-chunk.js'; | ||
import { x, y } from './generated-chunk2.js'; | ||
import './generated-chunk3.js'; | ||
import './generated-dep1.js'; | ||
import { x, y } from './generated-shared2.js'; | ||
import './generated-dep2.js'; | ||
|
||
console.log(x + y); |
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/es/main2.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import './generated-chunk.js'; | ||
import './generated-chunk2.js'; | ||
import './generated-chunk3.js'; | ||
import './generated-dep1.js'; | ||
import './generated-shared2.js'; | ||
import './generated-dep2.js'; |
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/es/main3.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 |
---|---|---|
@@ -1 +1 @@ | ||
import './generated-chunk.js'; | ||
import './generated-dep1.js'; |
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/es/main4.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 |
---|---|---|
@@ -1 +1 @@ | ||
import './generated-chunk3.js'; | ||
import './generated-dep2.js'; |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ment/_expected/system/generated-chunk2.js → ...ent/_expected/system/generated-shared2.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/system/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/system/main2.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/system/main3.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-deshadowing-reassignment/_expected/system/main4.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
5 changes: 0 additions & 5 deletions
5
test/chunking-form/samples/chunk-execution-order/_expected/amd/generated-chunk3.js
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
test/chunking-form/samples/chunk-execution-order/_expected/amd/generated-dep11.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 @@ | ||
define(['./generated-dep111', './generated-dep112'], function (dep111, dep112) { 'use strict'; | ||
|
||
console.log('11'); | ||
|
||
}); |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/amd/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/amd/main2.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/amd/main3.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/amd/main4.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
6 changes: 0 additions & 6 deletions
6
test/chunking-form/samples/chunk-execution-order/_expected/cjs/generated-chunk3.js
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
test/chunking-form/samples/chunk-execution-order/_expected/cjs/generated-dep11.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,6 @@ | ||
'use strict'; | ||
|
||
require('./generated-dep111.js'); | ||
require('./generated-dep112.js'); | ||
|
||
console.log('11'); |
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunk-execution-order/_expected/cjs/main1.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
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunk-execution-order/_expected/cjs/main2.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
|
||
require('./generated-chunk.js'); | ||
require('./generated-chunk2.js'); | ||
require('./generated-chunk3.js'); | ||
require('./generated-dep111.js'); | ||
require('./generated-dep112.js'); | ||
require('./generated-dep11.js'); | ||
|
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/cjs/main3.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
'use strict'; | ||
|
||
require('./generated-chunk.js'); | ||
require('./generated-dep111.js'); | ||
|
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/cjs/main4.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
'use strict'; | ||
|
||
require('./generated-chunk2.js'); | ||
require('./generated-dep112.js'); | ||
|
4 changes: 0 additions & 4 deletions
4
test/chunking-form/samples/chunk-execution-order/_expected/es/generated-chunk3.js
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
test/chunking-form/samples/chunk-execution-order/_expected/es/generated-dep11.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 './generated-dep111.js'; | ||
import './generated-dep112.js'; | ||
|
||
console.log('11'); |
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunk-execution-order/_expected/es/main1.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
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunk-execution-order/_expected/es/main2.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import './generated-chunk.js'; | ||
import './generated-chunk2.js'; | ||
import './generated-chunk3.js'; | ||
import './generated-dep111.js'; | ||
import './generated-dep112.js'; | ||
import './generated-dep11.js'; |
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/es/main3.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 |
---|---|---|
@@ -1 +1 @@ | ||
import './generated-chunk.js'; | ||
import './generated-dep111.js'; |
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/es/main4.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 |
---|---|---|
@@ -1 +1 @@ | ||
import './generated-chunk2.js'; | ||
import './generated-dep112.js'; |
2 changes: 1 addition & 1 deletion
2
...rder/_expected/system/generated-chunk3.js → ...order/_expected/system/generated-dep11.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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/system/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/system/main2.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/system/main3.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-execution-order/_expected/system/main4.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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-export-deshadowing/_expected/amd/main1.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
2 changes: 1 addition & 1 deletion
2
test/chunking-form/samples/chunk-export-deshadowing/_expected/amd/main2.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
File renamed without changes.
Oops, something went wrong.