-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ensure semicolon between compact sources
- Loading branch information
1 parent
12eb4d6
commit 2acb378
Showing
13 changed files
with
43 additions
and
36 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
4 changes: 2 additions & 2 deletions
4
...g-compact/_expected/amd/chunk-1e9855f7.js → ...g-compact/_expected/amd/chunk-f4daa162.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 @@ | ||
define(['exports'],function(exports){'use strict';function fn () { | ||
console.log('lib2 fn'); | ||
}function fn$1 () { | ||
};function fn$1 () { | ||
fn(); | ||
console.log('dep2 fn'); | ||
}exports.a=fn$1;}); | ||
};exports.a=fn$1;}); |
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunking-compact/_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,8 +1,8 @@ | ||
define(['./chunk-1e9855f7.js'],function(__chunk_1){'use strict';function fn () { | ||
define(['./chunk-f4daa162.js'],function(__chunk_1){'use strict';function fn () { | ||
console.log('dep1 fn'); | ||
}class Main1 { | ||
};class Main1 { | ||
constructor () { | ||
fn(); | ||
__chunk_1.a(); | ||
} | ||
}return Main1;}); | ||
};return Main1;}); |
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/chunking-compact/_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,12 +1,12 @@ | ||
define(['external','./chunk-1e9855f7.js'],function(external,__chunk_1){'use strict';function fn () { | ||
define(['external','./chunk-f4daa162.js'],function(external,__chunk_1){'use strict';function fn () { | ||
console.log('lib1 fn'); | ||
external.fn(); | ||
}function fn$1 () { | ||
};function fn$1 () { | ||
fn(); | ||
console.log('dep3 fn'); | ||
}class Main2 { | ||
};class Main2 { | ||
constructor () { | ||
fn$1(); | ||
__chunk_1.a(); | ||
} | ||
}return Main2;}); | ||
};return Main2;}); |
4 changes: 2 additions & 2 deletions
4
...g-compact/_expected/cjs/chunk-992f09ca.js → ...g-compact/_expected/cjs/chunk-f7718a2e.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';function fn () { | ||
console.log('lib2 fn'); | ||
}function fn$1 () { | ||
};function fn$1 () { | ||
fn(); | ||
console.log('dep2 fn'); | ||
}exports.a=fn$1; | ||
};exports.a=fn$1; |
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunking-compact/_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,8 +1,8 @@ | ||
'use strict';var __chunk_1=require('./chunk-992f09ca.js');function fn () { | ||
'use strict';var __chunk_1=require('./chunk-f7718a2e.js');function fn () { | ||
console.log('dep1 fn'); | ||
}class Main1 { | ||
};class Main1 { | ||
constructor () { | ||
fn(); | ||
__chunk_1.a(); | ||
} | ||
}module.exports=Main1; | ||
};module.exports=Main1; |
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/chunking-compact/_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,12 +1,12 @@ | ||
'use strict';var external=require('external'),__chunk_1=require('./chunk-992f09ca.js');function fn () { | ||
'use strict';var external=require('external'),__chunk_1=require('./chunk-f7718a2e.js');function fn () { | ||
console.log('lib1 fn'); | ||
external.fn(); | ||
}function fn$1 () { | ||
};function fn$1 () { | ||
fn(); | ||
console.log('dep3 fn'); | ||
}class Main2 { | ||
};class Main2 { | ||
constructor () { | ||
fn$1(); | ||
__chunk_1.a(); | ||
} | ||
}module.exports=Main2; | ||
};module.exports=Main2; |
4 changes: 2 additions & 2 deletions
4
...ng-compact/_expected/es/chunk-5b60a9d9.js → ...ng-compact/_expected/es/chunk-f92a9406.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 @@ | ||
function fn () { | ||
console.log('lib2 fn'); | ||
}function fn$1 () { | ||
};function fn$1 () { | ||
fn(); | ||
console.log('dep2 fn'); | ||
}export{fn$1 as a}; | ||
};export{fn$1 as a}; |
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunking-compact/_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,8 +1,8 @@ | ||
import {a as fn}from'./chunk-5b60a9d9.js';function fn$1 () { | ||
import {a as fn}from'./chunk-f92a9406.js';function fn$1 () { | ||
console.log('dep1 fn'); | ||
}class Main1 { | ||
};class Main1 { | ||
constructor () { | ||
fn$1(); | ||
fn(); | ||
} | ||
}export default Main1; | ||
};export default Main1; |
8 changes: 4 additions & 4 deletions
8
test/chunking-form/samples/chunking-compact/_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,12 +1,12 @@ | ||
import {fn}from'external';import {a as fn$1}from'./chunk-5b60a9d9.js';function fn$2 () { | ||
import {fn}from'external';import {a as fn$1}from'./chunk-f92a9406.js';function fn$2 () { | ||
console.log('lib1 fn'); | ||
fn(); | ||
}function fn$3 () { | ||
};function fn$3 () { | ||
fn$2(); | ||
console.log('dep3 fn'); | ||
}class Main2 { | ||
};class Main2 { | ||
constructor () { | ||
fn$3(); | ||
fn$1(); | ||
} | ||
}export default Main2; | ||
};export default Main2; |
4 changes: 2 additions & 2 deletions
4
...ompact/_expected/system/chunk-ad0e6b97.js → ...ompact/_expected/system/chunk-d9826910.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 @@ | ||
System.register([],function(exports,module){'use strict';return{execute:function(){exports('a',fn$1);function fn () { | ||
console.log('lib2 fn'); | ||
}function fn$1 () { | ||
};function fn$1 () { | ||
fn(); | ||
console.log('dep2 fn'); | ||
}}}}); | ||
};}}}); |
4 changes: 2 additions & 2 deletions
4
test/chunking-form/samples/chunking-compact/_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
6 changes: 3 additions & 3 deletions
6
test/chunking-form/samples/chunking-compact/_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