Commit 78fc7ed
committed
fix(build): unblock eslint-plugin-react-hooks Rollup bundle
- Add @types/babel__code-frame so @rollup/plugin-typescript can typecheck
imports of @babel/code-frame during the monorepo build.
- Honor bundle.preferBuiltins in @rollup/plugin-node-resolve so Node
built-ins (e.g. tty, os) resolve correctly for the hooks ESLint plugin;
bundles.js already sets preferBuiltins: true for that package.
Made-with: Cursor1 parent d1727fb commit 78fc7ed
File tree
3 files changed
+8
-1
lines changed- packages/eslint-plugin-react-hooks
- scripts/rollup
3 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3824 | 3824 | | |
3825 | 3825 | | |
3826 | 3826 | | |
| 3827 | + | |
| 3828 | + | |
| 3829 | + | |
| 3830 | + | |
| 3831 | + | |
3827 | 3832 | | |
3828 | 3833 | | |
3829 | 3834 | | |
| |||
8167 | 8172 | | |
8168 | 8173 | | |
8169 | 8174 | | |
| 8175 | + | |
8170 | 8176 | | |
8171 | 8177 | | |
8172 | 8178 | | |
| |||
0 commit comments