adopted-ember-addons / adopted-ember-addons/validated-changeset
Can't be used with dynamic imports due to process.env access
- 主要语言
- TypeScript
- 星标
- 38
- 派生
- 27
- PR 合并指标
- 30 天内没有已合并 PR
描述
I'm trying to use validated-changeset as a demo for some REPL stuff, but am running into `process is not defined` errors, which makes sense, considering I'm `await import`ing from a browser.
See https://cdn.jsdelivr.net/npm/validated-changeset/+esm
is there a browser build available?
I see there in main and module here: https://github.com/validated-changeset/validated-changeset/blob/main/package.json#L6
just looks like browser might be missing?
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with package.json, especially the main and module fields, and reproduce the failure by dynamically importing the jsDelivr +esm URL in a browser. Determine how the package should expose a browser-compatible build; done means the same dynamic import works without a process-is-not-defined error.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- build-system, frontend
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100