-
Notifications
You must be signed in to change notification settings - Fork 142
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
FastBoot support #112
Comments
I think this is because embroider isn't running There are various flavors of @rwjblue, you asked me about what fastboot can do to make compatibility easier. One idea is, can ember-cli-fastboot emit all the config files it needs via the public tree instead of using |
@ef4 I am looking at adding pre/postprocessTree for all types except for "all". Just wanted to check with you first as to whether this is something you really want. |
Yes, that's fine. Mostly they would belong in |
So I have been looking for that, but I've run a few tests and I never see postprocessTree being called from Embroider ever. Can you point out where they are being called? |
If you put a breakpoint here you can see which ones are running. Pre and post for Pre and post for |
Aaahhh... I admit I have an incomplete understanding of when this hook works, but this clears it up some. @stefanpenner wanted a warning if there was a customized pre/postprocessTree hook of type all. Is it accurate to say that pre/postprocessTree('all') is only called on an App and never an Addon? Would it be sufficient to simply sniff the App for a customized `pre/processTree hook and throw a warning if it exists? |
No. It's (entirely?) addons that do it. They don't do it arbitrarily deep down the dependency graph, but all your direct addons can do postprocessTree('all')`. The best place for that warning is probably here. It can be just like the one for |
The current version of fastboot is tested in the embroider test suite 🎉 For newer issues, lets open new issues 🥳 thanks all!! |
I was trying out to see if Embroider did work with fastboot, but I had some issues.
Here is the error I'm getting:
Repo: https://github.com/josemarluedke/my-embroider-test/tree/fastboot
The text was updated successfully, but these errors were encountered: