Skip to content

turbopack-240222.1

@kdy1 kdy1 tagged this 22 Feb 07:52
### Description

We didn't apply `swc_ecma_lints` to turbopack inputs, and it resulted in
code like

```js
import { TableHead, TableRow, TableHeader, TableCell, TableBody, Table } from "@/components/ui/table"

export function Table() {
    return <Table />
}
```

fails on **runtime** with `Maximum call stack size exceeded`. This PR
moves this error to build time by applying the relevant lint rules.


Closes PACK-2438


### Testing Instructions

<img width="1840" alt="image"
src="https://github.com/vercel/turbo/assets/29931815/b086aba6-a0be-452f-b5cb-0d177efdf8c1">
Assets 2
Loading