I used styled-components and this makes an error that is: Error: Could not load stream (imported by ../node_modules/styled-components/dist/styled-components.cjs.js): ENOENT: no such file or directory, open 'stream'.
This error makes an issue for microbundle watch and this not working.
Can you provide some more details on how to reproduce this?
Can you provide some more details on how to reproduce this?
In this repository in replace_rollup branch, you can see what happens when running npm run build:watch. after the second change I got the above error. and watching mode not working anymore.
I think we need to have microbundle inspect the browser field.
I think we need to have microbundle inspect the browser field.
Yes also rollup has the same issue. I got the same error in rollup.
This was fixed at some point.