question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

V2 addon.hbs() doesn't compile hbs files into the associated JS/TS file

See original GitHub issue

given

src/components/a-comp.js
src/components/a-comp.hbs

And the default plugin configuration for rollup, the built output will include no hbs files and the associated js file will also not include the compiled template.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
runspiredcommented, Apr 27, 2022

ahhhh I did not, needed to be added there. I should have thought to have added it there anyway. Must have gotten removed when I added the ts plugin 🤔

0reactions
pjcarlycommented, May 9, 2022

Shouldn’t this best be mentioned in the below migration guide? Porting addons to V2

Read more comments on GitHub >

github_iconTop Results From Across the Web

hbs files are not copied to dist folder · Issue #42 - GitHub
with modifying nest-cli.json file as given below, when the code is compiled templates folder structure is transfered to dist folder as intended. {...
Read more >
Why does my Handlebars not have a compile method?
The template compiler produces a JavaScript file containing the ... The hbs plugin had a folder with all the dependencies it needed in...
Read more >
hbs - npm
Express.js template engine plugin for Handlebars. Latest version: 4.2.0, ... Start using hbs in your project by running `npm i hbs`.
Read more >
Template Language—Custom — Eleventy
If you want to pre-process md or html files using another template language, change the ... `compile` is called once per .scss file...
Read more >
Templating Basics - Ember Guides
You should not add links to your own local CSS files within the hbs file. Style rules should go in the app/styles directory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found