issues
search
reboottime
/
my-turbo-packages
Build your typescript based utils or components lib using mono repo.
0
stars
0
forks
source link
Bundling tools comparison
#14
Open
reboottime
opened
6 months ago
reboottime
commented
6 months ago
Available bundling tools
Webpack: some learning curve to newbie though doc gets better nowdays
Rollup
tsup
vite
lerna: to publish a change on a single package requires you to rebuild the whole packages, this traits would be a headache to complex projects
turbo build
has cache based on the finger print of pkgs and files
30 minutes tutorial
large complex project
Write integration test is a must as the influence scope could be very wide if you do not have a habit of checking influence graph
resources
build design system using turbo build,
example 1
, and
example 2
Code generator
https://plopjs.com/documentation/#what-is-plop
reboottime
commented
6 months ago
tsup
official doc:
https://tsup.egoist.dev/#package-json
feature: out of box configuration support, zero learning effort
example:
sonner
reboottime
commented
6 months ago
Rollup
Official doc:
https://rollupjs.org/
Feature: some doc, easy to learn
Available bundling tools
Code generator
https://plopjs.com/documentation/#what-is-plop