According to the FastBoot guide here…
Because path is built-in, I don’t need to add it to my dependencies. But because redis comes from npm, I need to add it as a dependency. In both cases, I must explicitly whitelist that both are available to the Ember app.
How strict is the you need to add it as a dependency part explicitly? In my case, I want to use
package_b which is a dependency of
package_a. However, I only have
package_a in my addon’s
package_b is already downloaded due to the former.
Now, I added
package_b in my
fastbootDependencies and it works. Although I’m worried that there may be some edge-case here that could happen. Is what I’m doing safe?