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.

Addons using ember-cli-typescript@4 do not get their TypeScript transpiled

See original GitHub issue

We discovered this while testing a new version of ember-a11y-testing that uses ember-cli-typescript@4. During the Embroider build the .ts files (located in addon-test-support) are not transpiled into .js in Embroider’s working directory.

I’m making a tracking issue here so we can work towards a solution…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jamescdaviscommented, Sep 16, 2020

@dfreeman, yep that’s part of it. https://github.com/embroider-build/embroider/pull/529 gets the repro passing, at least (I have a test package locally, but it’s not building right).

1reaction
scalvertcommented, Sep 16, 2020

Added.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building Addons in TypeScript
Because addons have no control over how files in app/ are transpiled, you cannot have .ts files in your addon's app/ folder.
Read more >
Bug: No TypeScript support (without ember-cli ... - GitHub
My situation: ember 3.27 embroider 0.42.x no ember-cli-typescript The ... make sure it's a dependency of both your addon and your dummy app....
Read more >
Typescript, Decorators in sub-folders of in-repo add-ons
The ember-cli-typescript docs say: Because addons have no control over how files in app/ are transpiled, you cannot have .ts files in your...
Read more >
Typescript not transpiled in Karma tests - Stack Overflow
I have installed karma and everything and I can acutally run tests. However, whenever I have Typescript syntax in my *.ts files I...
Read more >
ember-cli-babel | Yarn - Package Manager
#378 Ensure decorators are transpiled properly when the decorator identifier is aliased within the decorated method (@rwjblue) · #368 fix: avoid assuming host ......
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