developit / developit/microbundle

Can microbundle be used to create subpackages?

未关闭
#726 4 条评论 0 个 reaction 已指派 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 😊

贡献指南

这个仓库没有索引到贡献指南

调研方向

The issue names no repository files, tests, or entry points. Compare the requested @namespace/package/subdirectory import structure with Apollo Client 3.0's example and determine whether microbundle can configure multiple package entry points; done means documenting the supported configuration or the external packaging work required.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
build-system
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。