-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug] template-compiler is not usable with Embroider(staticAddonTrees: true) + ember 3.27 #19568
Comments
All ember internal use of this pattern:
Needs to stop. We have replacements already (in @embroider/macros) that work in both non-embroider and embroider builds. |
@ef4 do you have an example Pr or anything of what it takes to swap out that require stuff with |
wip: #19569 |
Obviously you are correct, but the compat adapter that Embroider ships could easily handle these cases. |
I've tried reproing here: https://github.com/NullVoxPopuli/repro-emberjs-16568/blob/main/app/routes/application.js#L25 |
ah! success! (I have minimal reproduction)
to my embroider config: NullVoxPopuli/repro-emberjs-16568@89e8699 |
in particular, |
This is no longer an issue with https://github.com/NullVoxPopuli/ember-repl/ |
🐞 Describe the Bug
The template compiler cannot be used with Ember 3.27 (modules! 🎉 ) and embroider:
🔬 Minimal Reproduction
https://github.com/NullVoxPopuli/repro-emberjs-16568
😕 Actual Behavior
This error occurs when calling compile:
🤔 Expected Behavior
compile succeeds as it does with Ember 3.26
🌍 Environment
➕ Additional Context
deployed repro here:
The text was updated successfully, but these errors were encountered: