Feature Request: Allow choosing to prefer esm entry or cjs entry
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, nodejs
- Ambito
- build-system, tooling
Direzione di ricerca
No files or tests are named. Start by tracing how the package currently chooses between ESM and CJS entries and how it resolves type declaration files, then compare the proposed entry and preferCondition interfaces. Done requires a decided option design and reliable entry and declaration resolution.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
es module makes sense.
I'd prefer to:
- add an
entryoption to allow users to specify the entry point; or - add a
preferCondition: "import" | "require"option and useenhanced-resolveto resolve the entry.
Once we add a resolver library to the codebase, we can also use it to resolve the type declaration file more reliably.
- Lingua principale
- JavaScript
- Stelle
- 28
- Fork
- 6
- Merge medio
- 4h 25m
- PR unite (30g)
- 6
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rstackjs/prebundle
-
Dependency Dashboard Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
Tutte le issue di rstackjs/prebundle
Issue simili
-
curation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
amponce/archive-movie-browser#186 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100