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
6d4199e
commit e4f44c0
Showing
24 changed files
with
148 additions
and
88 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
...king-form/samples/emit-file/emit-chunk-filename/_expected/amd/custom/build-start-chunk.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-chunk'], function (exports, dep) { 'use strict'; | ||
|
||
const id = 'startBuild'; | ||
console.log(id, dep.value); | ||
|
||
exports.id = id; | ||
|
||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
|
||
}); |
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
test/chunking-form/samples/emit-file/emit-chunk-filename/_expected/amd/main.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(['./generated-chunk', './custom/build-start-chunk'], function (dep, buildStart) { 'use strict'; | ||
|
||
console.log(buildStart.id); | ||
|
||
console.log('main', dep.value); | ||
|
||
}); |
10 changes: 10 additions & 0 deletions
10
...king-form/samples/emit-file/emit-chunk-filename/_expected/cjs/custom/build-start-chunk.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 @@ | ||
'use strict'; | ||
|
||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
|
||
var dep = require('../generated-chunk.js'); | ||
|
||
const id = 'startBuild'; | ||
console.log(id, dep.value); | ||
|
||
exports.id = id; |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...le/emit-named-chunk/_expected/cjs/main.js → ...emit-chunk-filename/_expected/cjs/main.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 dep = require('./generated-chunk.js'); | ||
var buildStart = require('./custom/build-start-chunk.js'); | ||
|
||
console.log(buildStart.id); | ||
|
||
console.log('main', dep.value); |
6 changes: 6 additions & 0 deletions
6
...nking-form/samples/emit-file/emit-chunk-filename/_expected/es/custom/build-start-chunk.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 @@ | ||
import { v as value } from '../generated-chunk.js'; | ||
|
||
const id = 'startBuild'; | ||
console.log(id, value); | ||
|
||
export { id }; |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...ile/emit-named-chunk/_expected/es/main.js → .../emit-chunk-filename/_expected/es/main.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,6 @@ | ||
import { v as value } from './generated-chunk.js'; | ||
import { id } from './custom/build-start-chunk.js'; | ||
|
||
console.log(id); | ||
|
||
console.log('main', value); |
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.
18 changes: 18 additions & 0 deletions
18
test/chunking-form/samples/emit-file/emit-chunk-filename/_expected/system/main.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,18 @@ | ||
System.register(['./generated-chunk.js', './custom/build-start-chunk.js'], function () { | ||
'use strict'; | ||
var value, id; | ||
return { | ||
setters: [function (module) { | ||
value = module.v; | ||
}, function (module) { | ||
id = module.id; | ||
}], | ||
execute: function () { | ||
|
||
console.log(id); | ||
|
||
console.log('main', value); | ||
|
||
} | ||
}; | ||
}); |
3 changes: 3 additions & 0 deletions
3
test/chunking-form/samples/emit-file/emit-chunk-filename/buildStart.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 value from './dep.js'; | ||
export const id = 'startBuild'; | ||
console.log(id, value); |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
test/chunking-form/samples/emit-file/emit-chunk-filename/dep2.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 { id } from './buildStart.js'; | ||
|
||
console.log(id); |
2 changes: 1 addition & 1 deletion
2
...amples/emit-file/emit-named-chunk/main.js → ...les/emit-file/emit-chunk-filename/main.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 value from './dep.js'; | ||
|
||
import './dep2.js'; | ||
console.log('main', value); |
5 changes: 0 additions & 5 deletions
5
...hunking-form/samples/emit-file/emit-named-chunk/_expected/amd/custom/build-start-chunk.js
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
test/chunking-form/samples/emit-file/emit-named-chunk/_expected/amd/main.js
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...hunking-form/samples/emit-file/emit-named-chunk/_expected/cjs/custom/build-start-chunk.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...chunking-form/samples/emit-file/emit-named-chunk/_expected/es/custom/build-start-chunk.js
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
test/chunking-form/samples/emit-file/emit-named-chunk/_expected/system/main.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
test/chunking-form/samples/emit-file/emit-named-chunk/buildStart.js
This file was deleted.
Oops, something went wrong.