maxGraph / maxgraph-integration-examples

Demonstrate how to integrate maxGraph in projects.
https://maxgraph.github.io/maxgraph-integration-examples/
MIT License
13 stars 2 forks source link

feat: add a vanilla TS project built with Rsbuild #149

Closed tbouffard closed 3 weeks ago

tbouffard commented 3 weeks ago

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
tbouffard commented 3 weeks ago

✔️ Tested locally with the artifacts built by GH Actions