refactor: remove lib, lib-esm references#7853
Conversation
|
|
There was a problem hiding this comment.
Pull request overview
This PR cleans up remaining build/tooling configuration references to the legacy lib/ and lib-esm/ output folders, aligning the repo with the current dist/-only build output model.
Changes:
- Remove
lib/andlib-esm/from Turbo build outputs and from various tooling ignore/exclude lists (ESLint, Stylelint, Prettier, Vitest, setup script). - Update an exports-parsing example comment to reference
./dist/*instead of./lib-esm/*.
Show a summary per file
| File | Description |
|---|---|
| turbo.json | Drops lib/** and lib-esm/** from build task outputs. |
| script/setup-react-19.mts | Removes lib/lib-esm from glob ignore list; minor write formatting tweak. |
| packages/react/vitest.config.browser.mts | Removes lib/lib-esm from Vitest browser exclude list. |
| packages/react/script/get-export-sizes.cjs | Updates example export-map comment from lib-esm wildcard to dist wildcard. |
| eslint.config.mjs | Removes lib/lib-esm from global ignore patterns. |
| .stylelintignore | Removes lib/lib-esm ignore patterns for CSS. |
| .prettierignore | Removes lib/lib-esm ignore patterns. |
| .gitignore | Stops ignoring lib/ and lib-esm/ build folders at repo root. |
Copilot's findings
- Files reviewed: 7/8 changed files
- Comments generated: 1
Closes #7482
Changelog
New
Changed
lib,lib-esmreferences from projectRemoved
Rollout strategy
This is an internal change to config files