Improved `pnpm clean` (#45312)
When incompatibilities with upgrades to `swc` occur between releases, these changes expand the existing `pnpm clean` script to additionally run any `clean` script under any of the lerna packages. In this case, a new script was created under `packages/next-swc` that removes `packages/next-swc/native/*`, allowing the default to automatically use the WASM build. Users wanting to reset their repository can now run: ```sh pnpm clean ``` Future packages or outputs that are built should have their `clean` script remove them to allow for easy repository resetting.
Showing
Please
register
or
sign in
to comment