adopted-ember-addons / adopted-ember-addons/validated-changeset
Can't be used with dynamic imports due to process.env access
- Dominant language
- TypeScript
- Stars
- 38
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100