adopted-ember-addons / adopted-ember-addons/validated-changeset
Can't be used with dynamic imports due to process.env access
- Langage dominant
- TypeScript
- Étoiles
- 38
- Forks
- 27
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript
- Domaine
- build-system, frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100