developit / developit/microbundle

Can microbundle be used to create subpackages?

Ouverte
#726 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
discussion documentation question :grey_question:
Langage dominant
JavaScript
Étoiles
8.1k
Forks
358
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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 😊

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.