component-docs
component-docs copied to clipboard
Support RNW
Hey
As this project is used for both Paper and Reanimated (both supporting web platform), it would be cool if we could embed web component demos directly in the doc.
Is there a way to customize webpack currently, like a gatsby plugin or something?
Wrapping the webpack config with withUnimodules from import { withUnimodules } from '@expo/webpack-config/addons' should do the job, see https://github.com/slorber/gatsby-plugin-react-native-web/blob/master/src/gatsby-node.js
That could be a better experience and also a "proof" that web support is good in those libs if user was able to try web support easily.