developit / developit/microbundle

Can microbundle be used to create subpackages?

オープン
#726 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
discussion documentation question :grey_question:
主要言語
JavaScript
スター
8.1k
フォーク
358
PR マージ指標
30日以内にマージされた PR はありません

説明

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 😊

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。