Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

bug: import in .mjs does not support `Util::cdn()`

Aperta
#857 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

Start with the import in search.mjs that loads '../js/i18n.mjs' directly, and look at how Util::cdn('js/intl.mjs') is meant to resolve hashed module names. The issue mentions both i18n.mjs and intl.mjs, so confirm which file is the real target first. Done means the .mjs import resolves through the cache-busting CDN path and the page still loads the I18n module.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug common/

At present, we have few imports, but as we move to modules on the website, we need to consider how we will implement the cache-busting CDN infrastructure with Util::cdn(). For example, in search.mjs, we reference i18n.mjs directly rather than its hashed name via Util::cdn('js/intl.mjs'):

import { I18n } from '../js/i18n.mjs';
Lingua principale
JavaScript
Stelle
5
Fork
7
Merge medio
5h 33m
PR unite (30g)
15

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di keymanapp/keyman.com

Tutte le issue di keymanapp/keyman.com

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.