-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inline webpack runtime js bundle for production (#1662)
- Loading branch information
1 parent
898bc6b
commit cf64c59
Showing
5 changed files
with
211 additions
and
10 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: 1 addition & 0 deletions
1
packages/subapp-web/test/data/mock-app/dist/js/runtime.bundle.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 @@ | ||
/* placeholder */ |
157 changes: 157 additions & 0 deletions
157
packages/subapp-web/test/data/mock-app/dist/stats-with-runtime.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,157 @@ | ||
{ | ||
"assetsByChunkName": { | ||
"runtime": ["runtime.bundle.js", "../map/runtime.bundle.js.map"], | ||
"vendors.~c145fdcf": ["vendors.~c145fdcf.bundle.js", "../map/vendors.~c145fdcf.bundle.js.map"], | ||
"demo1": ["demo1.bundle.js", "../map/demo1.bundle.js.map"], | ||
"demo2": ["demo2.bundle.js", "../map/demo2.bundle.js.map"], | ||
"home": ["home.bundle.js", "../map/home.bundle.js.map"] | ||
}, | ||
"assets": [ | ||
{ | ||
"name": "../map/demo1.bundle.js.map", | ||
"size": 7349, | ||
"chunks": [2], | ||
"chunkNames": ["demo1"], | ||
"info": { | ||
"development": true | ||
}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "../map/demo2.bundle.js.map", | ||
"size": 122584, | ||
"chunks": [3], | ||
"chunkNames": ["demo2"], | ||
"info": { | ||
"development": true | ||
}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "../map/home.bundle.js.map", | ||
"size": 7451, | ||
"chunks": [4], | ||
"chunkNames": ["home"], | ||
"info": { | ||
"development": true | ||
}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "../map/runtime.bundle.js.map", | ||
"size": 8258, | ||
"chunks": [0], | ||
"chunkNames": ["runtime"], | ||
"info": { | ||
"development": true | ||
}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "../map/vendors.~c145fdcf.bundle.js.map", | ||
"size": 354688, | ||
"chunks": [1], | ||
"chunkNames": ["vendors.~c145fdcf"], | ||
"info": { | ||
"development": true | ||
}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "2b7ac2d4ff91cca5b9c8e742eda58b24.png", | ||
"size": 5402, | ||
"chunks": [], | ||
"chunkNames": [], | ||
"info": {}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "demo1.bundle.js", | ||
"size": 2153, | ||
"chunks": [2], | ||
"chunkNames": ["demo1"], | ||
"info": {}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "demo2.bundle.js", | ||
"size": 21808, | ||
"chunks": [3], | ||
"chunkNames": ["demo2"], | ||
"info": {}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "home.bundle.js", | ||
"size": 2139, | ||
"chunks": [4], | ||
"chunkNames": ["home"], | ||
"info": {}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "runtime.bundle.js", | ||
"size": 1551, | ||
"chunks": [0], | ||
"chunkNames": ["runtime"], | ||
"info": {}, | ||
"emitted": false | ||
}, | ||
{ | ||
"name": "vendors.~c145fdcf.bundle.js", | ||
"size": 132264, | ||
"chunks": [1], | ||
"chunkNames": ["vendors.~c145fdcf"], | ||
"info": {}, | ||
"emitted": false | ||
} | ||
], | ||
"entrypoints": { | ||
"demo1": [0, 1, 2], | ||
"demo2": [0, 1, 3], | ||
"home": [0, 1, 4] | ||
}, | ||
"chunks": [ | ||
{ | ||
"id": 0, | ||
"hash": "7a720e5ee25fe7c2fc7d", | ||
"names": ["runtime"], | ||
"entry": true, | ||
"initial": true, | ||
"rendered": true | ||
}, | ||
{ | ||
"id": 1, | ||
"hash": "cf181f43d0d9ef793316", | ||
"names": ["vendors.~c145fdcf"], | ||
"entry": false, | ||
"initial": true, | ||
"rendered": true, | ||
"reason": "split chunk (cache group: vendors) (name: vendors.~c145fdcf)" | ||
}, | ||
{ | ||
"id": 2, | ||
"hash": "536dcd6808cc93441725", | ||
"names": ["demo1"], | ||
"entry": false, | ||
"initial": true, | ||
"rendered": true | ||
}, | ||
{ | ||
"id": 3, | ||
"hash": "cd5a8800a0311615f3de", | ||
"names": ["demo2"], | ||
"entry": false, | ||
"initial": true, | ||
"rendered": true | ||
}, | ||
{ | ||
"id": 4, | ||
"hash": "bcaf762e6a7f230aebb4", | ||
"names": ["home"], | ||
"entry": false, | ||
"initial": true, | ||
"rendered": true | ||
} | ||
] | ||
} |
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
Submodule my-app
added at
832922