ember-cli-htmlbars icon indicating copy to clipboard operation
ember-cli-htmlbars copied to clipboard

Results 22 ember-cli-htmlbars issues
Sort by recently updated
recently updated
newest added

This is a performance improvement as the latter is actually faster. json-stable-stringify x 13,870 ops/sec ±0.72% (94 runs sampled) safe-stable-stringify x 30,367 ops/sec ±0.39% (96 runs sampled) The only difference...

Is ember-cli-htmlbars expected to work in browser context? The storybook example https://github.com/storybookjs/storybook/blob/1f27b252a66e48f4f7106ef7ccc7950a5b715c32/examples/ember-cli/stories/index.stories.js#L1 throws an error at runtime ``` Cannot read property 'length' of undefined TypeError: Cannot read property 'length' of...

ember-cli-htmlbars [configures](https://github.com/ember-cli/ember-cli-htmlbars/blob/faa39dbe53c55ba8e4cccbc2340336a69fbf7e45/lib/utils.js#L19): ```js 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...

The bug is perfecly described in https://github.com/emberjs/ember.js/issues/19401 The issue belongs to `ember-cli-htmlbars` though and I believe we need an issue in this repo as well to help things move forward....

Moved from https://github.com/typed-ember/ember-cli-typescript/issues/1166 . There is a reproduction repo there. cc @chriskrycho Quote from Chris in Discord: > I think it'll just need to tweak the transform so that if...

Discovered while reviewing another PR with @pzuraq, we should be passing the source moduleName in to `templateOnly()`. For example: https://github.com/ember-cli/ember-cli-htmlbars/blob/fb0b18a2fd96b3375ae7f21cb85815709dc8f6f8/node-tests/colocated-broccoli-plugin-test.js#L46-L54

I noticed that rebuild time for a particular addon (with a lot of handlebars AST transforms) recently ballooned from a few seconds to 80-90 seconds. It appears that something (I'm...

Is there appetite for a version of `hbs` that dedents the template string? I find myself often doing things like ```js layout: hbs(dedent` greeting: {{greeting}} `) ``` with an npm...

With an input like ```js import hbs from 'ember-cli-htmlbars-inline-precompile'; const __COLOCATED_TEMPLATE__ = hbs`{{yield}}`; export default @dec class {} ``` The class decorator `@dec` gets dropped: ```js import hbs from 'ember-cli-htmlbars-inline-precompile';...

When attempting to add a plugin ``` setupPreprocessorRegistry(type, registry) { registry.add('htmlbars-ast-plugin', { baseDir() { return __dirname; }, }); }, ``` if `broccoli-rollup` is installed then when running `ember serve` I...