graceguo-supercat commented on pull request #17205:
URL: https://github.com/apache/superset/pull/17205#issuecomment-951146263
This is what i got after `npm run build`:
```
Entrypoints:
preamble (2.84 MiB)
vendors.67a6449999841087d80c.entry.js
7550.0cfaa3644756c68a9121.entry.js
4772.8a7235054cc5390994dc.entry.js
preamble.68976f8cb942cbe71c72.entry.js
theme (610 KiB)
theme.0b43904ae09035706adf.entry.css
theme.0b43904ae09035706adf.entry.js
menu (4.16 MiB)
vendors.67a6449999841087d80c.entry.js
7550.0cfaa3644756c68a9121.entry.js
4772.8a7235054cc5390994dc.entry.js
4998.ea824400282b4ecbc219.entry.js
6817.ef8a2900974e5f86b36d.entry.js
7591.c0aa30a5b3a2ddfd78c1.entry.js
4654.a3f27e9f9fabb180d766.entry.js
7341.becfd5f6e5bba3cf5c2c.entry.js
741.029b1b0c6c246e83d9cd.entry.js
571.1e3731725b979423f667.entry.js
6962.7a58e262bb2f151662f1.entry.js
3853.3ed091c0487bca14aa78.entry.js
7843.fb124a06379fc9e80f62.entry.js
2825.72aec20a1f78ee635f53.entry.js
3375.780234d06d01558caddc.entry.js
1958.749b2a64de3f3ed5fa9c.entry.js
4305.19741208645ee2df668d.entry.js
3880.84f573205940fe80dd44.entry.js
6020.e57861dfbf3e45325a83.entry.js
menu.ac9c613178441599b6de.entry.css
menu.ac9c613178441599b6de.entry.js
spa (4.31 MiB)
vendors.67a6449999841087d80c.entry.js
7550.0cfaa3644756c68a9121.entry.js
4772.8a7235054cc5390994dc.entry.js
4998.ea824400282b4ecbc219.entry.js
6817.ef8a2900974e5f86b36d.entry.js
7591.c0aa30a5b3a2ddfd78c1.entry.js
4654.a3f27e9f9fabb180d766.entry.js
7341.becfd5f6e5bba3cf5c2c.entry.js
741.029b1b0c6c246e83d9cd.entry.js
5379.7499c59194663c7d20d7.entry.js
995.4e2301996ca18a87a402.entry.js
571.1e3731725b979423f667.entry.js
9602.c27ea946496c3f072b46.entry.js
6962.7a58e262bb2f151662f1.entry.js
3853.3ed091c0487bca14aa78.entry.js
7843.fb124a06379fc9e80f62.entry.js
2825.72aec20a1f78ee635f53.entry.js
3375.780234d06d01558caddc.entry.js
1958.749b2a64de3f3ed5fa9c.entry.js
4305.19741208645ee2df668d.entry.js
3880.84f573205940fe80dd44.entry.js
489.46c357f15990d355098a.entry.js
6020.e57861dfbf3e45325a83.entry.js
spa.94911ea36e7bf9f7d69e.entry.css
spa.94911ea36e7bf9f7d69e.entry.js
addSlice (5.24 MiB)
vendors.67a6449999841087d80c.entry.js
thumbnail.37aa6b2ad59ed69a49f9.entry.js
7550.0cfaa3644756c68a9121.entry.js
4772.8a7235054cc5390994dc.entry.js
7211.13300bc2a6d1ea873618.entry.js
6817.ef8a2900974e5f86b36d.entry.js
7017.d6e556fed5ce939e43d0.entry.js
7591.c0aa30a5b3a2ddfd78c1.entry.js
8483.4e3613037e0ee28f82b4.entry.js
8135.934661370e190a23d8cf.entry.js
7341.becfd5f6e5bba3cf5c2c.entry.js
3853.3ed091c0487bca14aa78.entry.js
1958.749b2a64de3f3ed5fa9c.entry.js
621.ac8273be37fa168c46b0.entry.js
3880.84f573205940fe80dd44.entry.js
addSlice.2158cef264b28d7909ac.entry.js
explore (6.11 MiB)
vendors.67a6449999841087d80c.entry.js
thumbnail.37aa6b2ad59ed69a49f9.entry.js
7550.0cfaa3644756c68a9121.entry.js
4772.8a7235054cc5390994dc.entry.js
4998.ea824400282b4ecbc219.entry.js
7211.13300bc2a6d1ea873618.entry.js
6817.ef8a2900974e5f86b36d.entry.js
7017.d6e556fed5ce939e43d0.entry.js
7591.c0aa30a5b3a2ddfd78c1.entry.js
4654.a3f27e9f9fabb180d766.entry.js
8483.4e3613037e0ee28f82b4.entry.js
8135.934661370e190a23d8cf.entry.js
7341.becfd5f6e5bba3cf5c2c.entry.js
741.029b1b0c6c246e83d9cd.entry.js
5379.7499c59194663c7d20d7.entry.js
876.508c66bac09df3662f8a.entry.js
995.4e2301996ca18a87a402.entry.js
9602.c27ea946496c3f072b46.entry.js
8680.d3e6a35c9974e5355172.entry.js
323.a052f68100e3a36fc6fc.entry.js
6962.7a58e262bb2f151662f1.entry.js
3853.3ed091c0487bca14aa78.entry.js
7843.fb124a06379fc9e80f62.entry.js
2825.72aec20a1f78ee635f53.entry.js
3375.780234d06d01558caddc.entry.js
1958.749b2a64de3f3ed5fa9c.entry.js
4305.19741208645ee2df668d.entry.js
621.ac8273be37fa168c46b0.entry.js
3880.84f573205940fe80dd44.entry.js
5618.5b23edabe0ad514c3feb.entry.js
explore.59e8c471075e13dd7bcf.entry.css
explore.59e8c471075e13dd7bcf.entry.js
sqllab (4.18 MiB)
vendors.67a6449999841087d80c.entry.js
2441.cf2d2dd99eca21c7005d.entry.js
7550.0cfaa3644756c68a9121.entry.js
4772.8a7235054cc5390994dc.entry.js
4998.ea824400282b4ecbc219.entry.js
6817.ef8a2900974e5f86b36d.entry.js
7591.c0aa30a5b3a2ddfd78c1.entry.js
4654.a3f27e9f9fabb180d766.entry.js
5379.7499c59194663c7d20d7.entry.js
995.4e2301996ca18a87a402.entry.js
9670.81717722de8508773214.entry.js
323.a052f68100e3a36fc6fc.entry.js
6962.7a58e262bb2f151662f1.entry.js
3853.3ed091c0487bca14aa78.entry.js
7843.fb124a06379fc9e80f62.entry.js
2825.72aec20a1f78ee635f53.entry.js
1958.749b2a64de3f3ed5fa9c.entry.js
489.46c357f15990d355098a.entry.js
sqllab.2927ade409cfc2ebcec8.entry.css
sqllab.2927ade409cfc2ebcec8.entry.js
profile (3.38 MiB)
vendors.67a6449999841087d80c.entry.js
7550.0cfaa3644756c68a9121.entry.js
4772.8a7235054cc5390994dc.entry.js
6817.ef8a2900974e5f86b36d.entry.js
5379.7499c59194663c7d20d7.entry.js
6962.7a58e262bb2f151662f1.entry.js
3853.3ed091c0487bca14aa78.entry.js
489.46c357f15990d355098a.entry.js
profile.e0174d7909bbaa985ad0.entry.css
profile.e0174d7909bbaa985ad0.entry.js
showSavedQuery (2.93 MiB)
vendors.67a6449999841087d80c.entry.js
7550.0cfaa3644756c68a9121.entry.js
9670.81717722de8508773214.entry.js
showSavedQuery.75de7e358177298f13e5.entry.css
showSavedQuery.75de7e358177298f13e5.entry.js
```
After this PR each entry point the bundle size will be smaller than webpack
4.x version
<img width="827" alt="Screen Shot 2021-10-21 at 11 39 10 AM"
src="https://user-images.githubusercontent.com/27990562/138742394-b10eb1ef-a7c4-49e2-8770-5ab4a73cc939.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]