I have a shared UI library in my monorepo written in react native (web), and in my webpack config I have the blow code.
Webpack should ignore files such as index.tsx if index.web.tsx is a sibling file. But my case the transpiler is attempting to transpile native libraries imported into index.tsx when it shouldn't.
I have a shared UI library in my monorepo written in react native (web), and in my webpack config I have the blow code.
Webpack should ignore files such as
index.tsx
ifindex.web.tsx
is a sibling file. But my case the transpiler is attempting to transpile native libraries imported intoindex.tsx
when it shouldn't.