-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
84d519b
commit 439012b
Showing
25 changed files
with
139 additions
and
65 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
1 change: 0 additions & 1 deletion
1
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_config.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: 11 additions & 0 deletions
11
...ng-form/samples/minChunkSize/avoid-circular-dependencies/_expected/amd/generated-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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
define(['exports', './generated-small'], (function (exports, small) { 'use strict'; | ||
|
||
const result = small.small + '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'; | ||
console.log(result); | ||
|
||
const generated = 'generated' + result; | ||
|
||
exports.generated = generated; | ||
exports.result = result; | ||
|
||
})); |
7 changes: 7 additions & 0 deletions
7
...ng-form/samples/minChunkSize/avoid-circular-dependencies/_expected/amd/generated-small.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,7 @@ | ||
define(['exports'], (function (exports) { 'use strict'; | ||
|
||
const small = '1'; | ||
|
||
exports.small = small; | ||
|
||
})); |
10 changes: 0 additions & 10 deletions
10
...g-form/samples/minChunkSize/avoid-circular-dependencies/_expected/amd/generated-small2.js
This file was deleted.
Oops, something went wrong.
6 changes: 4 additions & 2 deletions
6
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
define(['./generated-small2'], (function (small2) { 'use strict'; | ||
define(['exports', './generated-main1', './generated-small'], (function (exports, main1, small) { 'use strict'; | ||
|
||
console.log(small2.small1, small2.small2); | ||
|
||
|
||
exports.generated = main1.generated; | ||
|
||
})); |
4 changes: 2 additions & 2 deletions
4
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
define(['./generated-small2'], (function (small2) { 'use strict'; | ||
define(['./generated-main1', './generated-small'], (function (main1, small) { 'use strict'; | ||
|
||
console.log(small2.small1); | ||
console.log(main1.result); | ||
|
||
})); |
4 changes: 2 additions & 2 deletions
4
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
define(['./generated-small2'], (function (small2) { 'use strict'; | ||
define(['./generated-small'], (function (small) { 'use strict'; | ||
|
||
console.log(small2.small2); | ||
console.log(small.small); | ||
|
||
})); |
11 changes: 11 additions & 0 deletions
11
...ng-form/samples/minChunkSize/avoid-circular-dependencies/_expected/cjs/generated-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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
'use strict'; | ||
|
||
var small = require('./generated-small.js'); | ||
|
||
const result = small.small + '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'; | ||
console.log(result); | ||
|
||
const generated = 'generated' + result; | ||
|
||
exports.generated = generated; | ||
exports.result = result; |
5 changes: 5 additions & 0 deletions
5
...ng-form/samples/minChunkSize/avoid-circular-dependencies/_expected/cjs/generated-small.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 @@ | ||
'use strict'; | ||
|
||
const small = '1'; | ||
|
||
exports.small = small; |
8 changes: 0 additions & 8 deletions
8
...g-form/samples/minChunkSize/avoid-circular-dependencies/_expected/cjs/generated-small2.js
This file was deleted.
Oops, something went wrong.
7 changes: 5 additions & 2 deletions
7
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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,5 +1,8 @@ | ||
'use strict'; | ||
|
||
var small2 = require('./generated-small2.js'); | ||
var main1 = require('./generated-main1.js'); | ||
require('./generated-small.js'); | ||
|
||
console.log(small2.small1, small2.small2); | ||
|
||
|
||
exports.generated = main1.generated; |
5 changes: 3 additions & 2 deletions
5
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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,5 +1,6 @@ | ||
'use strict'; | ||
|
||
var small2 = require('./generated-small2.js'); | ||
var main1 = require('./generated-main1.js'); | ||
require('./generated-small.js'); | ||
|
||
console.log(small2.small1); | ||
console.log(main1.result); |
4 changes: 2 additions & 2 deletions
4
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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,5 +1,5 @@ | ||
'use strict'; | ||
|
||
var small2 = require('./generated-small2.js'); | ||
var small = require('./generated-small.js'); | ||
|
||
console.log(small2.small2); | ||
console.log(small.small); |
8 changes: 8 additions & 0 deletions
8
...ing-form/samples/minChunkSize/avoid-circular-dependencies/_expected/es/generated-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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { s as small } from './generated-small.js'; | ||
|
||
const result = small + '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'; | ||
console.log(result); | ||
|
||
const generated = 'generated' + result; | ||
|
||
export { generated as g, result as r }; |
3 changes: 3 additions & 0 deletions
3
...ing-form/samples/minChunkSize/avoid-circular-dependencies/_expected/es/generated-small.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 @@ | ||
const small = '1'; | ||
|
||
export { small as s }; |
5 changes: 0 additions & 5 deletions
5
...ng-form/samples/minChunkSize/avoid-circular-dependencies/_expected/es/generated-small2.js
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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,3 +1,2 @@ | ||
import { s as small1, a as small2 } from './generated-small2.js'; | ||
|
||
console.log(small1, small2); | ||
export { g as generated } from './generated-main1.js'; | ||
import './generated-small.js'; |
5 changes: 3 additions & 2 deletions
5
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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,4 @@ | ||
import { s as small1 } from './generated-small2.js'; | ||
import { r as result } from './generated-main1.js'; | ||
import './generated-small.js'; | ||
|
||
console.log(small1); | ||
console.log(result); |
4 changes: 2 additions & 2 deletions
4
test/chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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,3 +1,3 @@ | ||
import { a as small2 } from './generated-small2.js'; | ||
import { s as small } from './generated-small.js'; | ||
|
||
console.log(small2); | ||
console.log(small); |
17 changes: 17 additions & 0 deletions
17
...form/samples/minChunkSize/avoid-circular-dependencies/_expected/system/generated-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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
System.register(['./generated-small.js'], (function (exports) { | ||
'use strict'; | ||
var small; | ||
return { | ||
setters: [function (module) { | ||
small = module.s; | ||
}], | ||
execute: (function () { | ||
|
||
const result = exports('r', small + '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'); | ||
console.log(result); | ||
|
||
const generated = exports('g', 'generated' + result); | ||
|
||
}) | ||
}; | ||
})); |
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: 4 additions & 6 deletions
10
.../chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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
10 changes: 5 additions & 5 deletions
10
.../chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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
8 changes: 4 additions & 4 deletions
8
.../chunking-form/samples/minChunkSize/avoid-circular-dependencies/_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