Dario Lehmhus

Results 18 comments of Dario Lehmhus

I noticed something similar. In my case, the dependency chain starts with `@storybook/testing-library` -> `@testing-library/jest-dom` -> `@types/testing-library__jest-dom`, but the issue is basically the same. The types only get installed to...

`.toBeInDocument` was exactly my use case. Putting `testing-library/jest-dom` into the types array doesn't work in my case since I only have `@storybook/jest` in my dependencies. Which internally depends on `testing-library/jest-dom`....

@peduarte this example actually uses react 17. This is basically the example with-stitches repo. Except for the _document file of course :)

Hey @hadihallak, thanks for taking the time to look into this issue. Adding getInitalProps on the function document component does the trick. But I'm not sure if this violates the...

I think the issue is, that that linaria transforms the file before the file loader comes into play. Therefore the image object is undefined when the css gets evaluated.

I think the issue is, that `vercel build` from insight the monorepo places not all need deps insight the `node_modules` in the functions folder. ![example-folder-structure](https://user-images.githubusercontent.com/27899554/198650591-507f8d9b-54c0-487e-9633-a44614dcc77d.png)

@jamiter my very hacky and ugly workaround is to run a second "normal" next.js build with standalone output then moving the node_modules folder the correct places. I can confirm that...

I encountered the same Issue with other radix libs, like `@radix-ui/react-toast` and `@radix-ui/react-checkbox`. @Malien did you find a workaround for that issue?

I think the issue is that the extracted expressions are [marked as pure](https://github.com/Anber/wyw-in-js/blob/main/packages/transform/src/utils/collectTemplateDependencies.ts#L53) (what webpack understands), whereas rollup expects them to be marked as [side effect free](https://rollupjs.org/configuration-options/#no-side-effects).