Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Implements RFC 496 Incorrectly

Open
#713 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
build-system

Research direction

Start with lib/utils.js at the linked configuration and read RFC 496 alongside the current meanings of precompileTemplate and compile. Determine whether the required change is in the implementation, the RFC, or both; the issue is complete only when the naming and behavior agree with the resolved definition.

Written by the indexing model from the issue text.

Description

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.

Dominant language
JavaScript
Stars
77
Forks
65
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ember-cli/ember-cli-htmlbars

All issues in ember-cli/ember-cli-htmlbars

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.