jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.2k stars 505 forks source link

`rollup` function gets called multiple times #1124

Open wallacerenan opened 2 years ago

wallacerenan commented 2 years ago

Current Behavior

Calling the rollup function multiple times when running a build.

image

Expected behavior

Run the function once

Suggested solution(s)

Verify and fix to better performance and shorter build time

Additional context

Your environment

System: OS: macOS 12.2.1 CPU: (8) arm64 Apple M1 Memory: 198.11 MB / 8.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.13.2 - /opt/homebrew/opt/node@16/bin/node Yarn: 1.22.17 - /opt/homebrew/bin/yarn npm: 8.1.2 - /opt/homebrew/opt/node@16/bin/npm Watchman: 2022.01.31.00 - /opt/homebrew/bin/watchman Browsers: Chrome: 98.0.4758.80 Safari: 15.3 npmGlobalPackages: @aws-amplify/cli: 7.6.9 corepack: 0.10.0 expo-cli: 4.12.1 npm: 8.1.2 yalc: 1.0.0-pre.53 yarn: 1.22.17