diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..810b6243 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,75 @@ +{ + "configurations": [ + { + "name": "debug-js", + "port": 9229, + "request": "attach", + "skipFiles": [ + "/**" + ], + "sourceMaps": true, + "continueOnAttach": true, + "type": "node", + "presentation": { + "hidden": true + } + }, + { + "type": "lldb", + "request": "launch", + "sourceLanguages": [ + "rust" + ], + "name": "debug-rust-jest", + "program": "node", + "args": [ + "--inspect-brk", + "../../node_modules/.bin/jest", + "--workerThreads" + ], + "cwd": "${workspaceFolder}/packages/rspack" + }, + { + "type": "lldb", + "request": "attach", + "sourceLanguages": [ + "rust" + ], + "pid": "${command:pickMyProcess}", + "name": "debug-rust-attach" + }, + { + "type": "lldb", + "request": "launch", + "sourceLanguages": [ + "rust" + ], + "name": "debug-rust-basic", + "program": "node", + "args": [ + "--inspect-brk", + "${workspaceFolder}/cases/arco-pro/node_modules/@rspack/cli/bin/rspack", + "-c", + "rspack.config.js" + ], + "cwd": "${workspaceFolder}/cases/arco-pro", + "presentation": { + "hidden": true + } + } + ], + "compounds": [ + { + "name": "debug-basic", + "configurations": [ + "debug-js", + "debug-rust-basic" + ], + "stopAll": true, + "presentation": { + "group": "examples", + "order": 1 + } + } + ] +} \ No newline at end of file diff --git a/cases/arco-pro/READMD.md b/cases/arco-pro/READMD.md new file mode 100644 index 00000000..e69de29b diff --git a/cases/arco-pro/stats.json b/cases/arco-pro/stats.json new file mode 100644 index 00000000..6538871a --- /dev/null +++ b/cases/arco-pro/stats.json @@ -0,0 +1,2364 @@ +{ + "chunks": [ + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 307, + "sizes": { "css": 307 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/1025.02babdfc.css"], + "auxiliaryFiles": ["static/css/async/1025.02babdfc.css.map"], + "hash": "85e529681956277c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 8927, + "sizes": { "css": 1186, "javascript": 7741 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/1113.4dd4a0be.css", + "static/js/async/1113.724698e9.js" + ], + "auxiliaryFiles": [ + "static/css/async/1113.4dd4a0be.css.map", + "static/js/async/1113.724698e9.js.map" + ], + "hash": "136785f90eaf66cf", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 1453138, + "sizes": { "javascript": 1453138 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/1114.dccbc9f1.js"], + "auxiliaryFiles": ["static/js/async/1114.dccbc9f1.js.map"], + "hash": "aa112659f611da9a", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 31618, + "sizes": { "css": 785, "javascript": 30833 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/1176.9e56d12d.css", + "static/js/async/1176.fcb0d250.js" + ], + "auxiliaryFiles": [ + "static/css/async/1176.9e56d12d.css.map", + "static/js/async/1176.fcb0d250.js.map" + ], + "hash": "61d68b219bdc5061", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 12482, + "sizes": { "css": 214, "javascript": 12268 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/1247.38e02649.css", + "static/js/async/1247.5b2eec74.js" + ], + "auxiliaryFiles": [ + "static/css/async/1247.38e02649.css.map", + "static/js/async/1247.5b2eec74.js.map" + ], + "hash": "aa435683659e977b", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 16457, + "sizes": { "css": 238, "javascript": 16219 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/1345.25dd77d2.css", + "static/js/async/1345.04c821fd.js" + ], + "auxiliaryFiles": [ + "static/css/async/1345.25dd77d2.css.map", + "static/js/async/1345.04c821fd.js.map" + ], + "hash": "1debd4837c941076", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 5119, + "sizes": { "css": 316, "javascript": 4803 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/1401.9b7adf41.css", + "static/js/async/1401.1c819c51.js" + ], + "auxiliaryFiles": [ + "static/css/async/1401.9b7adf41.css.map", + "static/js/async/1401.1c819c51.js.map" + ], + "hash": "557b709ff1ab90b2", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 8833, + "sizes": { "css": 841, "javascript": 7992 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/1405.be752df5.css", + "static/js/async/1405.4d56140a.js" + ], + "auxiliaryFiles": [ + "static/css/async/1405.be752df5.css.map", + "static/js/async/1405.4d56140a.js.map" + ], + "hash": "a684ffa128344b8c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 182, + "sizes": { "css": 182 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/1478.9bc971fb.css"], + "auxiliaryFiles": ["static/css/async/1478.9bc971fb.css.map"], + "hash": "bdd05b4a25985383", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 4233067, + "sizes": { "javascript": 4233067 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/1693.6a3dbe88.js"], + "auxiliaryFiles": ["static/js/async/1693.6a3dbe88.js.map"], + "hash": "5bbdd3f5493ebe45", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 4162, + "sizes": { "javascript": 4162 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/1820.253a9021.js"], + "auxiliaryFiles": ["static/js/async/1820.253a9021.js.map"], + "hash": "ef3a4ffd7003a771", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 11703, + "sizes": { "css": 1016, "javascript": 10687 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/1842.76540019.css", + "static/js/async/1842.17873813.js" + ], + "auxiliaryFiles": [ + "static/css/async/1842.76540019.css.map", + "static/js/async/1842.17873813.js.map" + ], + "hash": "39d365c8bd1248f6", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 34217, + "sizes": { "css": 2027, "javascript": 32190 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/1880.42681dad.css", + "static/js/async/1880.a2285ad5.js" + ], + "auxiliaryFiles": [ + "static/css/async/1880.42681dad.css.map", + "static/js/async/1880.a2285ad5.js.map" + ], + "hash": "06c04c95563819dc", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1390, + "sizes": { "javascript": 1390 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/1938.49b8ec95.js"], + "auxiliaryFiles": ["static/js/async/1938.49b8ec95.js.map"], + "hash": "ebcc90014c4a9b0c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1016, + "sizes": { "css": 1016 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/1964.76540019.css"], + "auxiliaryFiles": ["static/css/async/1964.76540019.css.map"], + "hash": "6555dd6030a12f63", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 738, + "sizes": { "css": 738 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/2010.dce1ce3b.css"], + "auxiliaryFiles": ["static/css/async/2010.dce1ce3b.css.map"], + "hash": "a89aa6fea4d7cada", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": true, + "entry": false, + "reason": "split chunk (cache group: lib-axios)", + "size": 50351, + "sizes": { "javascript": 50351 }, + "names": ["lib-axios"], + "idHints": ["lib-axios"], + "runtime": ["index"], + "files": ["static/js/lib-axios.cc5d1030.js"], + "auxiliaryFiles": ["static/js/lib-axios.cc5d1030.js.map"], + "hash": "7eb80383ab41e1bd", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": true, + "entry": false, + "reason": "split chunk (cache group: lib-router)", + "size": 71070, + "sizes": { "javascript": 71070 }, + "names": ["lib-router"], + "idHints": ["lib-router"], + "runtime": ["index"], + "files": ["static/js/lib-router.8d51bfb8.js"], + "auxiliaryFiles": ["static/js/lib-router.8d51bfb8.js.map"], + "hash": "b736c04294e73d80", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": true, + "entry": false, + "reason": "split chunk (cache group: lib-polyfill)", + "size": 64529, + "sizes": { "javascript": 64529 }, + "names": ["lib-polyfill"], + "idHints": ["lib-polyfill"], + "runtime": ["index"], + "files": ["static/js/lib-polyfill.5905b0e4.js"], + "auxiliaryFiles": ["static/js/lib-polyfill.5905b0e4.js.map"], + "hash": "e599b5a4bd7f829d", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 29807, + "sizes": { "javascript": 29807 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/2158.b3079612.js"], + "auxiliaryFiles": ["static/js/async/2158.b3079612.js.map"], + "hash": "c4966ecbe8d9d9f7", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 16606, + "sizes": { "css": 785, "javascript": 15821 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/2318.9e56d12d.css", + "static/js/async/2318.ac7bd3bb.js" + ], + "auxiliaryFiles": [ + "static/css/async/2318.9e56d12d.css.map", + "static/js/async/2318.ac7bd3bb.js.map" + ], + "hash": "edbd7e20309774fc", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 67475, + "sizes": { "javascript": 67475 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/2366.bbe4eeda.js"], + "auxiliaryFiles": ["static/js/async/2366.bbe4eeda.js.map"], + "hash": "72e7ac8a8432ff90", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 841, + "sizes": { "css": 841 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/2368.be752df5.css"], + "auxiliaryFiles": ["static/css/async/2368.be752df5.css.map"], + "hash": "8fc0f8a379e6422c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 16914, + "sizes": { "css": 1186, "javascript": 15728 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/2391.4dd4a0be.css", + "static/js/async/2391.90192db3.js" + ], + "auxiliaryFiles": [ + "static/css/async/2391.4dd4a0be.css.map", + "static/js/async/2391.90192db3.js.map" + ], + "hash": "a007d4ba6f1f3693", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 140522, + "sizes": { "javascript": 140522 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/2453.8f2e0c71.js"], + "auxiliaryFiles": ["static/js/async/2453.8f2e0c71.js.map"], + "hash": "3d5651d748bf31bc", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1575, + "sizes": { "css": 182, "javascript": 1393 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/2481.f5cf84ea.css", + "static/js/async/2481.8c78b924.js" + ], + "auxiliaryFiles": [ + "static/css/async/2481.f5cf84ea.css.map", + "static/js/async/2481.8c78b924.js.map" + ], + "hash": "48d6fb32f3e7773e", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 24079, + "sizes": { "css": 2027, "javascript": 22052 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/2495.42681dad.css", + "static/js/async/2495.0cea164d.js" + ], + "auxiliaryFiles": [ + "static/css/async/2495.42681dad.css.map", + "static/js/async/2495.0cea164d.js.map" + ], + "hash": "fc08e86ccdac9ea9", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 182, + "sizes": { "css": 182 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/2595.f5cf84ea.css"], + "auxiliaryFiles": ["static/css/async/2595.f5cf84ea.css.map"], + "hash": "c8fc57b8d6b714a1", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 14394, + "sizes": { "javascript": 14394 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/2667.70ba1305.js"], + "auxiliaryFiles": ["static/js/async/2667.70ba1305.js.map"], + "hash": "90cb7eb8ccf3430d", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": true, + "entry": false, + "reason": "split chunk (cache group: lib-lodash)", + "size": 288472, + "sizes": { "javascript": 288472 }, + "names": ["lib-lodash"], + "idHints": ["lib-lodash"], + "runtime": ["index"], + "files": ["static/js/lib-lodash.598317fa.js"], + "auxiliaryFiles": ["static/js/lib-lodash.598317fa.js.map"], + "hash": "321ec33a3d32767f", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1286, + "sizes": { "css": 1286 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/2712.5c409711.css"], + "auxiliaryFiles": ["static/css/async/2712.5c409711.css.map"], + "hash": "2f5f1390a6302424", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 291, + "sizes": { "css": 291 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/2733.d88dc769.css"], + "auxiliaryFiles": ["static/css/async/2733.d88dc769.css.map"], + "hash": "79e5a91c5dd6e73b", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 34240, + "sizes": { "javascript": 34240 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/2744.04c16dd9.js"], + "auxiliaryFiles": ["static/js/async/2744.04c16dd9.js.map"], + "hash": "60a38c850bfb3afc", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 19460, + "sizes": { "css": 1186, "javascript": 18274 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/2794.4dd4a0be.css", + "static/js/async/2794.05239c71.js" + ], + "auxiliaryFiles": [ + "static/css/async/2794.4dd4a0be.css.map", + "static/js/async/2794.05239c71.js.map" + ], + "hash": "097c46063e497c21", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 2995, + "sizes": { "javascript": 2995 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/2901.513e2607.js"], + "auxiliaryFiles": ["static/js/async/2901.513e2607.js.map"], + "hash": "c04ae96120f950eb", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1454, + "sizes": { "javascript": 1454 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/2960.f0c7d40a.js"], + "auxiliaryFiles": ["static/js/async/2960.f0c7d40a.js.map"], + "hash": "50cbb1a3397ca8b0", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": true, + "entry": true, + "size": 98313, + "sizes": { "css": 7196, "javascript": 91117, "runtime": 20002 }, + "names": ["index"], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/index.224c72db.css", "static/js/index.1874495f.js"], + "auxiliaryFiles": [ + "static/css/index.224c72db.css.map", + "static/js/index.1874495f.js.map" + ], + "hash": "a158ecc3b8dd02e8", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 2387, + "sizes": { "css": 219, "javascript": 2168 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/3022.e4257cc8.css", + "static/js/async/3022.7ac01ce5.js" + ], + "auxiliaryFiles": [ + "static/css/async/3022.e4257cc8.css.map", + "static/js/async/3022.7ac01ce5.js.map" + ], + "hash": "e0caca0f6cc99dff", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 2512, + "sizes": { "javascript": 2512 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/3070.15c8ea41.js"], + "auxiliaryFiles": ["static/js/async/3070.15c8ea41.js.map"], + "hash": "928c0bd932bfe7f8", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 219, + "sizes": { "css": 219 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/3137.e4257cc8.css"], + "auxiliaryFiles": ["static/css/async/3137.e4257cc8.css.map"], + "hash": "80f445b432f2d407", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 17841, + "sizes": { "css": 307, "javascript": 17534 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/333.02babdfc.css", + "static/js/async/333.5422de66.js" + ], + "auxiliaryFiles": [ + "static/css/async/333.02babdfc.css.map", + "static/js/async/333.5422de66.js.map" + ], + "hash": "92272e8c84f4aa28", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": true, + "entry": false, + "reason": "split chunk (cache group: lib-react)", + "size": 146328, + "sizes": { "javascript": 146328 }, + "names": ["lib-react"], + "idHints": ["lib-react"], + "runtime": ["index"], + "files": ["static/js/lib-react.fe751f46.js"], + "auxiliaryFiles": ["static/js/lib-react.fe751f46.js.map"], + "hash": "f45b6a2879cf1d57", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 13938, + "sizes": { "javascript": 13938 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/3404.622f3a6f.js"], + "auxiliaryFiles": ["static/js/async/3404.622f3a6f.js.map"], + "hash": "dac5e1a52d6d7ba2", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1975, + "sizes": { "javascript": 1975 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/3621.e311af7e.js"], + "auxiliaryFiles": ["static/js/async/3621.e311af7e.js.map"], + "hash": "d232692ae849446c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 463, + "sizes": { "css": 463 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/3624.ccfa6341.css"], + "auxiliaryFiles": ["static/css/async/3624.ccfa6341.css.map"], + "hash": "6da1fe96b725ff41", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 671, + "sizes": { "javascript": 671 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/3636.2c656794.js"], + "auxiliaryFiles": ["static/js/async/3636.2c656794.js.map"], + "hash": "122280675bb65b0b", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 29636, + "sizes": { "css": 738, "javascript": 28898 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/3743.dce1ce3b.css", + "static/js/async/3743.da3a1aaf.js" + ], + "auxiliaryFiles": [ + "static/css/async/3743.dce1ce3b.css.map", + "static/js/async/3743.da3a1aaf.js.map" + ], + "hash": "c1e62cf904f3a8e3", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 2058.0600000000004, + "sizes": { "javascript": 2058.0600000000004 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/3821.9e4538ec.js"], + "auxiliaryFiles": [], + "hash": "314c56a31790d990", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 16601, + "sizes": { "css": 2342, "javascript": 14259 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/3853.74334cc6.css", + "static/js/async/3853.75325ed9.js" + ], + "auxiliaryFiles": [ + "static/css/async/3853.74334cc6.css.map", + "static/js/async/3853.75325ed9.js.map" + ], + "hash": "64619beecf8003fe", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 230, + "sizes": { "javascript": 230 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/3948.8dd3b188.js"], + "auxiliaryFiles": ["static/js/async/3948.8dd3b188.js.map"], + "hash": "bfeeccbaf77579e4", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 23596, + "sizes": { "javascript": 23596 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/3961.5e7e234f.js"], + "auxiliaryFiles": ["static/js/async/3961.5e7e234f.js.map"], + "hash": "a2951a0ac60fc62c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 3518, + "sizes": { "javascript": 3518 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/4051.bf74578d.js"], + "auxiliaryFiles": ["static/js/async/4051.bf74578d.js.map"], + "hash": "a2ae905fe1141c1c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1671, + "sizes": { "css": 1671 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/4070.2136679b.css"], + "auxiliaryFiles": ["static/css/async/4070.2136679b.css.map"], + "hash": "ba3a2b82202c15c4", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 2903, + "sizes": { "javascript": 2903 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/4144.75aef69d.js"], + "auxiliaryFiles": ["static/js/async/4144.75aef69d.js.map"], + "hash": "743b627c078a3d9e", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 5100, + "sizes": { "javascript": 5100 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/4166.9265e266.js"], + "auxiliaryFiles": ["static/js/async/4166.9265e266.js.map"], + "hash": "ec05ed94c0e33a8f", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 48540, + "sizes": { "css": 1912, "javascript": 46628 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/4241.0e0e2b99.css", + "static/js/async/4241.b734a7bc.js" + ], + "auxiliaryFiles": [ + "static/css/async/4241.0e0e2b99.css.map", + "static/js/async/4241.b734a7bc.js.map" + ], + "hash": "bf69c31052190504", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 25782, + "sizes": { "css": 2342, "javascript": 23440 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/4336.74334cc6.css", + "static/js/async/4336.0725fba2.js" + ], + "auxiliaryFiles": [ + "static/css/async/4336.74334cc6.css.map", + "static/js/async/4336.0725fba2.js.map" + ], + "hash": "bb909db9b3441052", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 25251, + "sizes": { "css": 1286, "javascript": 23965 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/4386.5c409711.css", + "static/js/async/4386.edac947f.js" + ], + "auxiliaryFiles": [ + "static/css/async/4386.5c409711.css.map", + "static/js/async/4386.edac947f.js.map" + ], + "hash": "d6af506c90fd0737", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 30161, + "sizes": { "css": 1127, "javascript": 29034 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/4662.9fb17626.css", + "static/js/async/4662.12f4f6ae.js" + ], + "auxiliaryFiles": [ + "static/css/async/4662.9fb17626.css.map", + "static/js/async/4662.12f4f6ae.js.map" + ], + "hash": "3f82b02c27108a62", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 20154, + "sizes": { "css": 281, "javascript": 19873 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/4721.561f2330.css", + "static/js/async/4721.5afb6737.js" + ], + "auxiliaryFiles": [ + "static/css/async/4721.561f2330.css.map", + "static/js/async/4721.5afb6737.js.map" + ], + "hash": "7afbbaeeb3dc9c6a", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 1858006, + "sizes": { "javascript": 1858006 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/4811.f7dcec04.js"], + "auxiliaryFiles": ["static/js/async/4811.f7dcec04.js.map"], + "hash": "2acb48309f3777cb", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 214, + "sizes": { "css": 214 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/4815.38e02649.css"], + "auxiliaryFiles": ["static/css/async/4815.38e02649.css.map"], + "hash": "1888f68b8ffb85fe", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 27626, + "sizes": { "css": 1016, "javascript": 26610 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/5012.76540019.css", + "static/js/async/5012.85da066e.js" + ], + "auxiliaryFiles": [ + "static/css/async/5012.76540019.css.map", + "static/js/async/5012.85da066e.js.map" + ], + "hash": "1c17078aa0ab0a63", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 316, + "sizes": { "css": 316 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/5032.9b7adf41.css"], + "auxiliaryFiles": ["static/css/async/5032.9b7adf41.css.map"], + "hash": "6c4bc4ea740d8ddc", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 2443, + "sizes": { "javascript": 2443 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/5067.f843a4f8.js"], + "auxiliaryFiles": ["static/js/async/5067.f843a4f8.js.map"], + "hash": "098d33bbd66d6031", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 41925, + "sizes": { "css": 516, "javascript": 41409 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/5147.33b7fd3e.css", + "static/js/async/5147.ce476536.js" + ], + "auxiliaryFiles": [ + "static/css/async/5147.33b7fd3e.css.map", + "static/js/async/5147.ce476536.js.map" + ], + "hash": "e8269695ce584c80", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1157, + "sizes": { "javascript": 1157 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/5210.b7f18804.js"], + "auxiliaryFiles": ["static/js/async/5210.b7f18804.js.map"], + "hash": "08b1a6267e88dfe9", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 501, + "sizes": { "css": 501 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/5263.ed494a4a.css"], + "auxiliaryFiles": ["static/css/async/5263.ed494a4a.css.map"], + "hash": "779ad6efb96a9725", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 164022, + "sizes": { "javascript": 164022 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/5332.ff285566.js"], + "auxiliaryFiles": ["static/js/async/5332.ff285566.js.map"], + "hash": "d933d36bafedd2cd", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 18775, + "sizes": { "css": 1286, "javascript": 17489 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/5494.5c409711.css", + "static/js/async/5494.e2c10868.js" + ], + "auxiliaryFiles": [ + "static/css/async/5494.5c409711.css.map", + "static/js/async/5494.e2c10868.js.map" + ], + "hash": "18d093ba2c88ebab", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 13284, + "sizes": { "css": 463, "javascript": 12821 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/5636.ccfa6341.css", + "static/js/async/5636.eb7a4b55.js" + ], + "auxiliaryFiles": [ + "static/css/async/5636.ccfa6341.css.map", + "static/js/async/5636.eb7a4b55.js.map" + ], + "hash": "995796773ae54d6d", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 10509, + "sizes": { "css": 2342, "javascript": 8167 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/5697.74334cc6.css", + "static/js/async/5697.8c2970bb.js" + ], + "auxiliaryFiles": [ + "static/css/async/5697.74334cc6.css.map", + "static/js/async/5697.8c2970bb.js.map" + ], + "hash": "359999c336b96a05", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 3271, + "sizes": { "javascript": 3271 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/5896.576916ee.js"], + "auxiliaryFiles": ["static/js/async/5896.576916ee.js.map"], + "hash": "61756ce1e971e065", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 46354, + "sizes": { "css": 1865, "javascript": 44489 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/59.88243264.css", + "static/js/async/59.71a5b3f6.js" + ], + "auxiliaryFiles": [ + "static/css/async/59.88243264.css.map", + "static/js/async/59.71a5b3f6.js.map" + ], + "hash": "b877e4e45895d37d", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 221588, + "sizes": { "asset": 220598, "css": 948, "javascript": 42 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/5949.bc471bcc.css", + "static/js/async/5949.5293649d.js" + ], + "auxiliaryFiles": [ + "static/css/async/5949.bc471bcc.css.map", + "static/image/header-banner.953fc7b8.png" + ], + "hash": "9e2c30e399ec705a", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 516, + "sizes": { "javascript": 516 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/6010.b684b843.js"], + "auxiliaryFiles": ["static/js/async/6010.b684b843.js.map"], + "hash": "f8e5402d7c2111cf", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 3675, + "sizes": { "javascript": 3675 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/6096.236d16b1.js"], + "auxiliaryFiles": ["static/js/async/6096.236d16b1.js.map"], + "hash": "26c96762dc996d9a", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 32433, + "sizes": { "css": 383, "javascript": 32050 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/6157.82ff1b1d.css", + "static/js/async/6157.43552717.js" + ], + "auxiliaryFiles": [ + "static/css/async/6157.82ff1b1d.css.map", + "static/js/async/6157.43552717.js.map" + ], + "hash": "84caa5ece547e93a", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 785, + "sizes": { "css": 785 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/6188.9e56d12d.css"], + "auxiliaryFiles": ["static/css/async/6188.9e56d12d.css.map"], + "hash": "14810a66e4ba83ec", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 163139, + "sizes": { "javascript": 163139 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/6211.0333916b.js"], + "auxiliaryFiles": ["static/js/async/6211.0333916b.js.map"], + "hash": "0be15660e1379c78", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 340, + "sizes": { "css": 340 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/6354.0939cac6.css"], + "auxiliaryFiles": ["static/css/async/6354.0939cac6.css.map"], + "hash": "7701d52a77b71059", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 90, + "sizes": { "css": 90 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/6393.c584167b.css"], + "auxiliaryFiles": ["static/css/async/6393.c584167b.css.map"], + "hash": "b2a88ffa7e937e67", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 571, + "sizes": { "javascript": 571 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/6564.b3f114cf.js"], + "auxiliaryFiles": ["static/js/async/6564.b3f114cf.js.map"], + "hash": "e5edc5a64382f040", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 25514, + "sizes": { "javascript": 25514 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/6580.f252f998.js"], + "auxiliaryFiles": ["static/js/async/6580.f252f998.js.map"], + "hash": "6e21eb0aa18d60dd", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 238, + "sizes": { "css": 238 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/6594.25dd77d2.css"], + "auxiliaryFiles": ["static/css/async/6594.25dd77d2.css.map"], + "hash": "a5cdabcb38616704", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1405, + "sizes": { "css": 182, "javascript": 1223 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/6623.07aee189.css", + "static/js/async/6623.e60f72e8.js" + ], + "auxiliaryFiles": [ + "static/css/async/6623.07aee189.css.map", + "static/js/async/6623.e60f72e8.js.map" + ], + "hash": "96d9b6ccb0648328", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 5507, + "sizes": { "javascript": 5507 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/6672.4ffe8cc0.js"], + "auxiliaryFiles": ["static/js/async/6672.4ffe8cc0.js.map"], + "hash": "de8189cb76759d0e", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1768, + "sizes": { "css": 182, "javascript": 1586 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/6762.9bc971fb.css", + "static/js/async/6762.97b1fa5b.js" + ], + "auxiliaryFiles": [ + "static/css/async/6762.9bc971fb.css.map", + "static/js/async/6762.97b1fa5b.js.map" + ], + "hash": "521d58fcbfe18847", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 267602, + "sizes": { "asset": 220598, "css": 1186, "javascript": 45818 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/6942.b4cb5508.css", + "static/js/async/6942.8d1fc2db.js" + ], + "auxiliaryFiles": [ + "static/css/async/6942.b4cb5508.css.map", + "static/image/header-banner.953fc7b8.png", + "static/js/async/6942.8d1fc2db.js.map" + ], + "hash": "a5292085c84735e5", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": true, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 2601945, + "sizes": { "css": 668369, "javascript": 1933576 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/css/7006.38628ad7.css", "static/js/7006.0e1490f8.js"], + "auxiliaryFiles": [ + "static/css/7006.38628ad7.css.map", + "static/js/7006.0e1490f8.js.map" + ], + "hash": "80daf0d5c43f1b96", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: default)", + "size": 106047, + "sizes": { "javascript": 106047 }, + "names": [], + "idHints": [""], + "runtime": ["index"], + "files": ["static/js/async/7025.65eb86a3.js"], + "auxiliaryFiles": [ + "static/js/async/7025.65eb86a3.js.map", + "static/svg/content.485e184a.svg" + ], + "hash": "f9fea717b8557492", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 14144, + "sizes": { "css": 238, "javascript": 13906 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/7114.25dd77d2.css", + "static/js/async/7114.a3635593.js" + ], + "auxiliaryFiles": [ + "static/css/async/7114.25dd77d2.css.map", + "static/js/async/7114.a3635593.js.map" + ], + "hash": "7ee434f1f88c28b9", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 8947, + "sizes": { "javascript": 8947 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7118.0a4fa588.js"], + "auxiliaryFiles": [], + "hash": "9cc20c2caa223070", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: default)", + "size": 23795, + "sizes": { "javascript": 23795 }, + "names": [], + "idHints": [""], + "runtime": ["index"], + "files": ["static/js/async/7237.b032295a.js"], + "auxiliaryFiles": ["static/js/async/7237.b032295a.js.map"], + "hash": "16707777a57ecd6e", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 236516, + "sizes": { "asset": 220598, "css": 948, "javascript": 14970 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/7254.bc471bcc.css", + "static/js/async/7254.605c7886.js" + ], + "auxiliaryFiles": [ + "static/css/async/7254.bc471bcc.css.map", + "static/image/header-banner.953fc7b8.png", + "static/js/async/7254.605c7886.js.map" + ], + "hash": "d8e1b458624060e2", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 4540, + "sizes": { "javascript": 4540 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/726.f5366712.js"], + "auxiliaryFiles": ["static/js/async/726.f5366712.js.map"], + "hash": "7900126c1a1a5dfe", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 785, + "sizes": { "css": 785 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/73.9e56d12d.css"], + "auxiliaryFiles": ["static/css/async/73.9e56d12d.css.map"], + "hash": "fdd72fd8c5a48751", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 2182.6800000000003, + "sizes": { "javascript": 2182.6800000000003 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7310.7d48feb4.js"], + "auxiliaryFiles": [], + "hash": "e2113a72729754a8", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 8175, + "sizes": { "javascript": 8175 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7486.fb8bdcfd.js"], + "auxiliaryFiles": ["static/js/async/7486.fb8bdcfd.js.map"], + "hash": "5852c014e2634ef4", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 878, + "sizes": { "javascript": 878 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7504.212886e6.js"], + "auxiliaryFiles": ["static/js/async/7504.212886e6.js.map"], + "hash": "362fd5f10bc732a0", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 383, + "sizes": { "css": 383 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/751.82ff1b1d.css"], + "auxiliaryFiles": ["static/css/async/751.82ff1b1d.css.map"], + "hash": "d38ca14ff8cada21", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 230, + "sizes": { "javascript": 230 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7572.2937aebe.js"], + "auxiliaryFiles": ["static/js/async/7572.2937aebe.js.map"], + "hash": "5063072dc426c66f", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 7092, + "sizes": { "javascript": 7092 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7606.0f27ecdc.js"], + "auxiliaryFiles": ["static/js/async/7606.0f27ecdc.js.map"], + "hash": "f3b215dc81578b12", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1045, + "sizes": { "css": 1045 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/7622.04be3cfa.css"], + "auxiliaryFiles": ["static/css/async/7622.04be3cfa.css.map"], + "hash": "4ddaef7f98e1aa3c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 5096, + "sizes": { "javascript": 5096 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7695.70e4ca42.js"], + "auxiliaryFiles": ["static/js/async/7695.70e4ca42.js.map"], + "hash": "498a77c3da0a5caa", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 20430, + "sizes": { "css": 146, "javascript": 20284 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/7746.f53db298.css", + "static/js/async/7746.fe500587.js" + ], + "auxiliaryFiles": [ + "static/css/async/7746.f53db298.css.map", + "static/js/async/7746.fe500587.js.map" + ], + "hash": "e6decd270ed74835", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 8669.62, + "sizes": { "javascript": 8669.62 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7747.0c77b4df.js"], + "auxiliaryFiles": [], + "hash": "e44bb5a4834d440b", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 23892, + "sizes": { "javascript": 23892 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7780.e5f08d7e.js"], + "auxiliaryFiles": ["static/js/async/7780.e5f08d7e.js.map"], + "hash": "280f2006603a226e", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 516, + "sizes": { "css": 516 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/7850.33b7fd3e.css"], + "auxiliaryFiles": ["static/css/async/7850.33b7fd3e.css.map"], + "hash": "df8d77cbfc8ef923", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1871, + "sizes": { "javascript": 1871 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/7856.89f121db.js"], + "auxiliaryFiles": ["static/js/async/7856.89f121db.js.map"], + "hash": "330da7e7de1b1bf3", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1701, + "sizes": { "javascript": 1701 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/8192.9ae4f75f.js"], + "auxiliaryFiles": ["static/js/async/8192.9ae4f75f.js.map"], + "hash": "e529ec016b04e122", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 861, + "sizes": { "css": 861 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/8206.45fe70c7.css"], + "auxiliaryFiles": ["static/css/async/8206.45fe70c7.css.map"], + "hash": "8669ed4825ee06ea", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 23604, + "sizes": { "css": 861, "javascript": 22743 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/8237.45fe70c7.css", + "static/js/async/8237.98c87c77.js" + ], + "auxiliaryFiles": [ + "static/css/async/8237.45fe70c7.css.map", + "static/js/async/8237.98c87c77.js.map" + ], + "hash": "ef073b96d6018c95", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 220640, + "sizes": { "asset": 220598, "javascript": 42 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/8253.efd1b713.js"], + "auxiliaryFiles": ["static/image/header-banner.953fc7b8.png"], + "hash": "47242b4e56f7397d", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 12988, + "sizes": { "asset": 12946, "javascript": 42 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/8300.a91782f1.js"], + "auxiliaryFiles": ["static/svg/content.14f7b633.svg"], + "hash": "a202d25d6b9ea20c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 4625, + "sizes": { "javascript": 4625 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/8400.36f20458.js"], + "auxiliaryFiles": ["static/js/async/8400.36f20458.js.map"], + "hash": "d0c31539e767e8ac", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 590, + "sizes": { "javascript": 590 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/8458.75346816.js"], + "auxiliaryFiles": ["static/js/async/8458.75346816.js.map"], + "hash": "87e1a48f0516fb05", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 11697, + "sizes": { "css": 340, "javascript": 11357 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/8463.0939cac6.css", + "static/js/async/8463.b3ffde5d.js" + ], + "auxiliaryFiles": [ + "static/css/async/8463.0939cac6.css.map", + "static/js/async/8463.b3ffde5d.js.map" + ], + "hash": "c613fc8e4df5a3de", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 4307.92, + "sizes": { "javascript": 4307.92 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/85.38ffa40c.js"], + "auxiliaryFiles": [], + "hash": "45058c37a9a7a99d", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 12, + "sizes": { "javascript": 12 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/872.baace509.js"], + "auxiliaryFiles": [], + "hash": "07f9b604b113a559", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 42736, + "sizes": { "css": 1479, "javascript": 41257 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/8823.ac8544a7.css", + "static/js/async/8823.54c8159a.js" + ], + "auxiliaryFiles": [ + "static/css/async/8823.ac8544a7.css.map", + "static/js/async/8823.54c8159a.js.map" + ], + "hash": "2e5c2339401b6dcf", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 62, + "sizes": { "css": 62 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/8903.6d6a8dbe.css"], + "auxiliaryFiles": ["static/css/async/8903.6d6a8dbe.css.map"], + "hash": "a711b8a1e54ce69c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 2342, + "sizes": { "css": 2342 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/8933.74334cc6.css"], + "auxiliaryFiles": ["static/css/async/8933.74334cc6.css.map"], + "hash": "f082086b046b5d4c", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 8791.560000000001, + "sizes": { "javascript": 8791.560000000001 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/915.fc26191f.js"], + "auxiliaryFiles": [], + "hash": "872d19e24e2437ac", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 4361, + "sizes": { "javascript": 4361 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/9219.448a9b37.js"], + "auxiliaryFiles": ["static/js/async/9219.448a9b37.js.map"], + "hash": "f94d7a2a5575e565", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 228835, + "sizes": { "asset": 220598, "css": 948, "javascript": 7289 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/9230.bc471bcc.css", + "static/js/async/9230.5dd9d616.js" + ], + "auxiliaryFiles": [ + "static/css/async/9230.bc471bcc.css.map", + "static/image/header-banner.953fc7b8.png", + "static/js/async/9230.5dd9d616.js.map" + ], + "hash": "d49eeac286cf39f6", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 34499, + "sizes": { "javascript": 34499 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/9302.af9a2b64.js"], + "auxiliaryFiles": ["static/js/async/9302.af9a2b64.js.map"], + "hash": "e5cd86e0d533ea03", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1755, + "sizes": { "javascript": 1755 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/9343.18ac9e5c.js"], + "auxiliaryFiles": ["static/js/async/9343.18ac9e5c.js.map"], + "hash": "08984b9181220a03", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1186, + "sizes": { "css": 1186 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/9374.4dd4a0be.css"], + "auxiliaryFiles": ["static/css/async/9374.4dd4a0be.css.map"], + "hash": "99ce24d70d128fd8", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 1338, + "sizes": { "javascript": 1338 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/9412.903545a4.js"], + "auxiliaryFiles": ["static/js/async/9412.903545a4.js.map"], + "hash": "f0eaa59fa3c13625", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 8147, + "sizes": { "css": 841, "javascript": 7306 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/947.be752df5.css", + "static/js/async/947.ce0dad34.js" + ], + "auxiliaryFiles": [ + "static/css/async/947.be752df5.css.map", + "static/js/async/947.ce0dad34.js.map" + ], + "hash": "dbe7e2988b8aa61e", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 15655, + "sizes": { "css": 90, "javascript": 15565 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/9517.c584167b.css", + "static/js/async/9517.9251d7db.js" + ], + "auxiliaryFiles": [ + "static/css/async/9517.c584167b.css.map", + "static/js/async/9517.9251d7db.js.map" + ], + "hash": "51fdf66a23770428", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 146, + "sizes": { "css": 146 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/9580.f53db298.css"], + "auxiliaryFiles": ["static/css/async/9580.f53db298.css.map"], + "hash": "6e1803d73569938a", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "reason": "split chunk (cache group: defaultVendors)", + "size": 29514, + "sizes": { "javascript": 29514 }, + "names": [], + "idHints": ["vendors"], + "runtime": ["index"], + "files": ["static/js/async/9599.4794a299.js"], + "auxiliaryFiles": ["static/js/async/9599.4794a299.js.map"], + "hash": "a66026754d91138f", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 36223, + "sizes": { "css": 3434, "javascript": 32789 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": [ + "static/css/async/9617.326823c3.css", + "static/js/async/9617.ee418c7a.js" + ], + "auxiliaryFiles": [ + "static/css/async/9617.326823c3.css.map", + "static/js/async/9617.ee418c7a.js.map" + ], + "hash": "0677b9c6fd019949", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 182, + "sizes": { "css": 182 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/css/async/977.07aee189.css"], + "auxiliaryFiles": ["static/css/async/977.07aee189.css.map"], + "hash": "ea60e7dfdc39ab9a", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 20425, + "sizes": { "javascript": 20425 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/9882.d993c1cd.js"], + "auxiliaryFiles": ["static/js/async/9882.d993c1cd.js.map"], + "hash": "c0fb547e14a2ddc4", + "childrenByOrder": {} + }, + { + "type": "chunk", + "rendered": true, + "initial": false, + "entry": false, + "size": 480, + "sizes": { "javascript": 480 }, + "names": [], + "idHints": [], + "runtime": ["index"], + "files": ["static/js/async/9958.55b79861.js"], + "auxiliaryFiles": ["static/js/async/9958.55b79861.js.map"], + "hash": "fbcfba5dffac7991", + "childrenByOrder": {} + } + ] + } + \ No newline at end of file diff --git a/cases/arco-pro/webpack.config.js b/cases/arco-pro/webpack.config.js new file mode 100644 index 00000000..c3641ed1 --- /dev/null +++ b/cases/arco-pro/webpack.config.js @@ -0,0 +1,341 @@ +const path = require("path"); +const HtmlWebpackPlugin = require('html-webpack-plugin'); +const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); + +const BROWSERS_LIST = [ + 'chrome >= 51', + 'edge >= 15', + 'firefox >= 54', + 'safari >= 10', + 'ios_saf >= 10' +]; + +const POSTCSS_LOADER = { + loader: 'postcss-loader', + options: { + postcssOptions: { + plugins: [ + { + browsers: BROWSERS_LIST, + options: { + flexbox: 'no-2009' + }, + postcssPlugin: 'autoprefixer', + } + ], + config: false + } + } +}; + +const prod = process.env.NODE_ENV === "production"; +/** @type {import("@rspack/cli").Configuration} */ +module.exports = { + target: 'web', + experiments: { + asyncWebAssembly: true, + css: true + }, + devtool: 'source-map', + output: { + path: path.join(__dirname, 'dist'), + filename: 'static/js/[name].[contenthash:8].js', + chunkFilename: 'static/js/async/[name].[contenthash:8].js', + publicPath: '/', + hashFunction: 'xxhash64', + webassemblyModuleFilename: 'static/wasm/[hash].module.wasm', + cssFilename: 'static/css/[name].[contenthash:8].css', + cssChunkFilename: 'static/css/async/[name].[contenthash:8].css' + }, + resolve: { + extensions: ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.json'], + plugins: [new TsconfigPathsPlugin({ + configFile: path.join(__dirname, 'tsconfig.json') + })] + }, + module: { + parser: { + 'css/module': { + namedExports: false, + } + }, + rules: [ + { + test: /\.(?:png|jpg|jpeg|pjpeg|pjp|gif|bmp|webp|ico|apng|avif|tif|tiff|jfif)$/i, + oneOf: [ + { + type: 'asset/resource', + resourceQuery: /(__inline=false|url)/, + generator: { filename: 'static/image/[name].[contenthash:8][ext]' } + }, + { type: 'asset/inline', resourceQuery: /inline/ }, + { + type: 'asset', + parser: { dataUrlCondition: { maxSize: 10000 } }, + generator: { filename: 'static/image/[name].[contenthash:8][ext]' } + } + ] + }, + { + test: /\.(?:mp4|webm|ogg|mov|mp3|wav|flac|aac|m4a|opus)$/i, + oneOf: [ + { + type: 'asset/resource', + resourceQuery: /(__inline=false|url)/, + generator: { filename: 'static/media/[name].[contenthash:8][ext]' } + }, + { type: 'asset/inline', resourceQuery: /inline/ }, + { + type: 'asset', + parser: { dataUrlCondition: { maxSize: 10000 } }, + generator: { filename: 'static/media/[name].[contenthash:8][ext]' } + } + ] + }, + { + test: /\.(?:woff|woff2|eot|ttf|otf|ttc)$/i, + oneOf: [ + { + type: 'asset/resource', + resourceQuery: /(__inline=false|url)/, + generator: { filename: 'static/font/[name].[contenthash:8][ext]' } + }, + { type: 'asset/inline', resourceQuery: /inline/ }, + { + type: 'asset', + parser: { dataUrlCondition: { maxSize: 10000 } }, + generator: { filename: 'static/font/[name].[contenthash:8][ext]' } + } + ] + }, + { + test: /\.wasm$/, + dependency: 'url', + type: 'asset/resource', + generator: { filename: 'static/wasm/[hash].module.wasm' } + }, + { + test: /\.css$/, + oneOf: [ + { + sideEffects: true, + use: [POSTCSS_LOADER], + resolve: { preferRelative: true }, + test: /\.module\.\w+$/i, + type: 'css/module' + }, + { + sideEffects: true, + use: [POSTCSS_LOADER], + resolve: { preferRelative: true }, + type: 'css' + } + ] + }, + { + test: /\.less$/, + oneOf: [ + { + sideEffects: true, + use: [ + POSTCSS_LOADER, + { + loader: 'less-loader', + options: { + lessOptions: { javascriptEnabled: true } + } + } + ], + resolve: { preferRelative: true }, + test: /\.module\.\w+$/i, + type: 'css/module' + }, + { + sideEffects: true, + use: [ + POSTCSS_LOADER, + { + loader: 'less-loader', + options: { + lessOptions: { javascriptEnabled: true } + } + } + ], + resolve: { preferRelative: true }, + type: 'css' + } + ] + }, + { + test: /\.(j|t)s(x)?$/, + loader: "swc-loader", + exclude: [/[\\/]node_modules[\\/]/], + options: { + sourceMaps: true, + jsc: { + parser: { + syntax: "typescript", + tsx: true + }, + transform: { + react: { + runtime: "automatic", + development: !prod, + refresh: !prod + } + }, + externalHelpers: true + }, + env: { + targets: "Chrome >= 48" + } + } + }, + { + test: /\.svg$/, + oneOf: [ + { + type: 'asset/resource', + resourceQuery: /(__inline=false|url)/, + generator: { filename: 'static/svg/[name].[contenthash:8].svg' }, + issuer: { + not: [/\.(?:js|mjs|cjs|jsx)$/, /\.(?:ts|mts|cts|tsx)$/] + } + }, + { + type: 'asset/inline', + resourceQuery: /inline/, + issuer: { + not: [/\.(?:js|mjs|cjs|jsx)$/, /\.(?:ts|mts|cts|tsx)$/] + } + }, + { + type: 'asset', + parser: { dataUrlCondition: { maxSize: 10000 } }, + generator: { filename: 'static/svg/[name].[contenthash:8].svg' }, + issuer: { + not: [/\.(?:js|mjs|cjs|jsx)$/, /\.(?:ts|mts|cts|tsx)$/] + } + }, + { type: 'asset/inline', resourceQuery: /inline/ }, + { + type: 'asset/resource', + resourceQuery: /url/, + generator: { filename: 'static/svg/[name].[contenthash:8].svg' } + }, + { + type: 'javascript/auto', + use: [ + { + loader: 'swc-loader', + options: { + jsc: { + externalHelpers: true, + parser: { + tsx: true, + syntax: 'typescript', + decorators: true + }, + preserveAllComments: true, + transform: { + legacyDecorator: true, + decoratorMetadata: true, + react: { + development: true, + refresh: true, + runtime: 'automatic' + } + } + }, + env: { + targets: BROWSERS_LIST, + mode: 'usage', + coreJs: '3.32', + shippedProposals: true + }, + } + }, + { + loader: '@svgr/webpack', + options: { + svgo: true, + svgoConfig: { + plugins: [ + { + name: 'preset-default', + params: { overrides: { removeViewBox: false } } + }, + 'prefixIds' + ] + } + } + }, + { + loader: 'url-loader', + options: { + limit: 10000, + name: 'static/svg/[name].[contenthash:8].svg' + } + } + ] + } + ] + } + ], + }, + optimization: { + splitChunks: { + chunks: 'all', + cacheGroups: { + 'lib-lodash': { + test: /[\\/]node_modules[\\/](lodash|lodash-es)[\\/]/, + priority: 0, + name: 'lib-lodash', + reuseExistingChunk: true + }, + 'lib-axios': { + test: /[\\/]node_modules[\\/](axios|axios-.+)[\\/]/, + priority: 0, + name: 'lib-axios', + reuseExistingChunk: true + }, + 'lib-polyfill': { + test: /[\\/]node_modules[\\/](tslib|core-js|@babel\/runtime|@swc\/helpers)[\\/]/, + priority: 0, + name: 'lib-polyfill', + reuseExistingChunk: true + }, + 'lib-react': { + test: /[\\/]node_modules[\\/](react|react-dom|scheduler)[\\/]/, + priority: 0, + name: 'lib-react', + reuseExistingChunk: true + }, + 'lib-router': { + test: /[\\/]node_modules[\\/](react-router|react-router-dom|history|@remix-run[\\/]router)[\\/]/, + priority: 0, + name: 'lib-router', + reuseExistingChunk: true + } + } + } + }, + entry: { + index: path.join(__dirname, 'src/index.tsx') + }, + plugins: [ + new HtmlWebpackPlugin({ + template: path.resolve(__dirname, "./index.html") + }), + ].filter(Boolean), + devServer: { + static: { + directory: path.join(__dirname, 'dist'), + }, + historyApiFallback: true + }, + stats: { + all: false, + logging: "verbose" + } +}; diff --git a/lib/scenarios/index.js b/lib/scenarios/index.js index dc3e6342..06639333 100644 --- a/lib/scenarios/index.js +++ b/lib/scenarios/index.js @@ -43,7 +43,7 @@ async function runRspack(ctx) { }; let remainingLine = ""; await runCommand( - path.join(rootDir, "node_modules/@rspack/cli/bin/rspack"), + path.join(rootDir, "node_modules/@rspack/cli/bin/rspack.js"), ctx.rspackArgs, { verbose: false,