adopted-ember-addons / adopted-ember-addons/validated-changeset

Can't be used with dynamic imports due to process.env access

オープン
#136 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

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

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