callstack / callstack/component-docs

Support RNW

Offen
#30 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
141
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.