Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with engines #47

Open
gossi opened this issue Nov 7, 2024 · 0 comments
Open

Does not work with engines #47

gossi opened this issue Nov 7, 2024 · 0 comments

Comments

@gossi
Copy link

gossi commented Nov 7, 2024

I tried to use decorator-transforms in an engine.

After couple of failing attempts I was able to make it run error-free (in ember s) by setting runEarly: true. Config was primarily set in ember-cli-build.js + tests/dummy/app/app.ts for the global import.

My idea was to use it for some debugging, to have a more modern output to walk through. But transformed code always looked like babel transformed code (no change).

Additional notes:

  • Adding the config to index.js had no effect either.
  • ember-cli-babel is at version 8.2.0
  • After short convo with @NullVoxPopuli it might be a bug in ec-babel and engine interaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant