Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4838

FastBoot whitelist

$
0
0

@rmmpaderes wrote:

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 dependencies since 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? :slight_smile:

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4838

Trending Articles