marked dependency causes problems with skypack
- Lingua principale
- TypeScript
- Stelle
- 109
- Fork
- 3
- Merge medio
- 5h 52m
- PR unite (30g)
- 2
Descrizione
...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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, typescript
- Ambito
- build-system, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100