adopted-ember-addons / adopted-ember-addons/validated-changeset
Can't be used with dynamic imports due to process.env access
- Vorherrschende Sprache
- TypeScript
- Sterne
- 38
- Forks
- 27
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- build-system, frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100