Where do Fastboot initializers go?

Mostly documenting for future travelers:

I needed to run an initializer only in FastBoot land. Rather than guard for FastBoot I want to use a FB initializer.

In an addon you can do so by adding your initializer (in my case an instance-initializer) to:


and in an application:


If you’d like to see more detail on this please referr to this EmberCLI ticket by @kratiahuja

Cheers! :beers:

1 Like

Right, you would put them in fastboot/instance-initializers/some-name-here.js.

1 Like