developit / developit/microbundle

Can microbundle be used to create subpackages?

Offen
#726 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
discussion documentation question :grey_question:
Vorherrschende Sprache
JavaScript
Sterne
8.1k
Forks
358
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently I have a package `@namespace/package` built using microbundle. I want to store certain functionality in a subdirectory of the package e.g. `import { ... } from "@namespace/package/subdirectory"`. An example of this would be the way importing now works for Apollo Client 3.0: https://www.apollographql.com/docs/react/migrating/apollo-client-3-migration/#apolloreact-testing

Is this something that can be configured in microbundle, or does this require something else? I'm not even sure what structuring your distributable like this is referred to, and haven't been able to find anything from my searching on Google.

Sorry for my ignorance and thanks for any help 😊

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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