marked dependency causes problems with skypack
- Vorherrschende Sprache
- TypeScript
- Sterne
- 109
- Forks
- 3
- Ø Merge
- 5 Std. 52 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
...and maybe other CDNs or build setups.
basically marked seems to result in this from skypack:
> Failed to load node_modules/marked/bin/marked.js
> Unexpected token (1:0) in marked/bin/marked.js
which makes little sense since it has no reason to try import the `bin` file. marked correctly points the main file (and via export maps) to their ESM bundle.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Check the package.json for the marked dependency and its export maps. Look at how skypack or other CDNs resolve imports, especially for bin files. Investigate the build setup in relit to see where marked is imported and how it's bundled. Test with a minimal reproduction to confirm the issue.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, typescript
- Bereich
- build-system, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100