You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current project utilizes Rollup as the building tool, but we would like to replace it with Tsup for better performance and additional features. This issue aims to implement the necessary changes to switch from Rollup to Tsup seamlessly.
Expected Specifications:
In the root package, update the p:build scripts to use Tsup instead of Rollup.
In the root package, update the p:build:watch script to use Tsup with the --watch flag for automatic rebuilds on file changes.
In the root package, update g:build:watch to build and watch all packages concurrently (using turbo).
Enable hot reloading for the Next.js app www when changes occur in any file in packages, using transpilePackages. Currently, with Rollup, a restart is necessary. Modify the configuration to support hot reloading seamlessly. This is the main goal of that issue.
Ensure there are no regressions from the current Rollup configuration. The project should build and run without any issues and produce the same expected output as it does with Rollup. We will do a test release to confirm that one.
Concurrent attempts are accepted until the first PR lands.
Funding
You can sponsor this specific effort via a Polar.sh pledge below
We receive the pledge once the issue is completed & verified
Description
The current project utilizes Rollup as the building tool, but we would like to replace it with Tsup for better performance and additional features. This issue aims to implement the necessary changes to switch from Rollup to Tsup seamlessly.
Expected Specifications:
p:buildscripts to use Tsup instead of Rollup.p:build:watchscript to use Tsup with the --watchflag for automatic rebuilds on file changes.g:build:watchto build and watch all packages concurrently (using turbo).wwwwhen changes occur in any file in packages, using transpilePackages. Currently, with Rollup, a restart is necessary. Modify the configuration to support hot reloading seamlessly. This is the main goal of that issue.Concurrent attempts are accepted until the first PR lands.
Funding