LoXatoR
PD🧩 Plasmo Developers
•Created by LoXatoR on 3/19/2024 in #👟framework
How to customize parcel config?
Hi everyone, I am trying to use a react-native based library called
react-native-reanimated
. This library has some components that are also supported for the web, and they write 2 files, for example a measure
component will have measure.tsx
and measure.web.tsx
file. When I use this library in a nextJS project, it bundles the correct file for web, which is measure.web.tsx
, however with plasmo, it seems like it only bundles the files with extensions .ts
or .js
etc..., and skips the equivalent .web.*
file.
How do I make parcel make the files that end in .web.*
take precendence over .js|ts(x)
files?15 replies