googleapis / googleapis/google-api-nodejs-client
Add guide for using google-api-nodejs-client (and its submodules) with webpack
- Vorherrschende Sprache
- TypeScript
- Sterne
- 12.3k
- Forks
- 2k
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 24
Beschreibung
We should have a document that clearly explains how to use the library (or one of the submodules from the library) with webpack.
@JustinBeckwith says:
> For future tracking though - my proposal (I think) is that we do the npm run webpack as part of npm run compile, and package the results in the npm module. I'm not 100% sure of if/how webpack supports the "browser" field "spec", but if it does we should consider using that instead.
Refs: https://github.com/googleapis/google-api-nodejs-client/pull/2581
Beitragsleitfaden
Rechercherichtung
Lesen Sie zuerst den Kontext des Issues und den referenzierten PR 2581, und prüfen Sie anschließend die vorhandene Dokumentation der Bibliothek auf verwandte Hinweise zur Verwendung. Fügen Sie einen klaren Leitfaden hinzu, der die Verwendung von webpack mit der Hauptbibliothek und ihren Submodulen abdeckt, einschließlich der im Issue beschriebenen dokumentierten Überlegungen zur npm-Kompilierung oder Paketierung.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- node.js, typescript, webpack
- Bereich
- build-system, documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100