Skip to content

Conversation

@tbouffard
Copy link
Member

@tbouffard tbouffard commented Aug 18, 2024

Use the same shared code as in other project.
The dev server and the build process are very fast!

Rsbuild v1.0.1-beta.14

● web ━━━━━━━━━━━━━━━━━━━━━━━━━ (100%) emitting after emit

ready   Compiled in 0.47 s (web)
info    Production file sizes for web:

  File                                  Size        Gzipped    
  dist/index.html                       0.43 kB     0.29 kB
  dist/static/js/index.18915e19.js      3.4 kB      1.6 kB
  dist/static/css/index.143c2b7c.css    4.6 kB      1.5 kB
  dist/favicon-128x128.png              7.1 kB      7.1 kB
  dist/static/js/843.89efea31.js        431.3 kB    116.3 kB

  Total size:  446.8 kB
  Gzipped size:  126.8 kB

Tasks

Notes

Here is what is built when using the split-by-module chunk strategy.

Rsbuild v1.0.1-beta.14

● web ━━━━━━━━━━━━━━━━━━━━━━━━━ (100%) emitting after emit                                                                                                                                                                            ready   Compiled in 0.44 s (web)
info    Production file sizes for web:

  File                                            Size        Gzipped    
  dist/static/css/index.8650b49f.css              0.37 kB     0.28 kB
  dist/index.html                                 0.44 kB     0.27 kB
  dist/static/js/index.56e2fab5.js                3.4 kB      1.7 kB
  dist/static/css/491.1af471ff.css                4.2 kB      1.4 kB
  dist/static/js/npm.maxgraph.core.8ee9a6f9.js    431.3 kB    116.3 kB

  Total size:  439.6 kB
  Gzipped size:  119.7 kB

Use the same shared code as in other project.
The dev server and the build process are very fast!

```
Rsbuild v1.0.1-beta.14

● web ━━━━━━━━━━━━━━━━━━━━━━━━━ (100%) emitting after emit

ready   Compiled in 0.47 s (web)
info    Production file sizes for web:

  File                                  Size        Gzipped
  dist/index.html                       0.37 kB     0.25 kB
  dist/static/js/index.18915e19.js      3.4 kB      1.6 kB
  dist/static/css/index.143c2b7c.css    4.6 kB      1.5 kB
  dist/static/js/843.89efea31.js        431.3 kB    116.3 kB

  Total size:  439.6 kB
  Gzipped size:  119.7 kB
```
@tbouffard tbouffard added the enhancement New feature or request label Aug 18, 2024
@tbouffard
Copy link
Member Author

✔️ Tested locally with the artifacts built by GH Actions

@tbouffard tbouffard marked this pull request as ready for review August 19, 2024 06:59
@tbouffard tbouffard merged commit 306031a into main Aug 19, 2024
@tbouffard tbouffard deleted the feat/add_rsbuild_vanilla-ts_project branch August 19, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant