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

Implements RFC 496 Incorrectly

Aperta
#713 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
build-system

Direzione di ricerca

Inizia da lib/utils.js nella configurazione collegata e leggi RFC 496 insieme ai significati attuali di precompileTemplate e compile. Determina se la modifica necessaria riguarda l’implementazione, l’RFC o entrambe; l’issue sarà completa solo quando la denominazione e il comportamento corrisponderanno alla definizione risolta.

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

Descrizione

ember-cli-htmlbars configures:

import { precompileTemplate } from '@ember/template-compilation'

to mean both createTemplateFactory and the wire format compilation. But that contradicts the RFC, which says that precompileTemplate is supposed to only produce the wire format.

The thing that's being implemented here is really compile, not precompile. compile is the one that automatically includes both steps.

The RFC muddies these waters by implying that compile would be for runtime compilation vs build-time compilation, but even if that is a true distinction we want to maintain, then we still need something that means "both steps, but at build time".

I would argue that precompile already means that in practice because of how it's implemented, and we could amend the RFC to make that clear.

Lingua principale
JavaScript
Stelle
77
Fork
65
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 ember-cli/ember-cli-htmlbars

Tutte le issue di ember-cli/ember-cli-htmlbars

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.