ember-cli / ember-cli/ember-cli-preprocess-registry

Preprocessor not processing co-located components for engine

Offen
#106 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
1
Forks
11
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have an engine registering a preprocessor for its own template files. It receives all templates for routes but none of the templates for components.

The route templates are co-located with the route js files by setting the podModulePrefix.
The component templates are co-located with the component js files using standard component location.

The above configuration works for apps and engines otherwise, but could be part of the trouble here. I'd note though that addons that add a preprocessor for the engine get access to both, so I suspect the issue is elsewhere.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne damit, die in der Issue beschriebene Engine-Konfiguration zu reproduzieren, einschließlich podModulePrefix für Routen und der standardmäßigen Component-Speicherorte. Verfolge, wie die Preprocessor-Registry Templates für Routen im Vergleich zu Components sammelt; abgeschlossen ist die Aufgabe, wenn der Preprocessor der Engine beide nebeneinander liegenden Template-Typen erhält.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.