Skip to content

assetRoots is not being set properly #252

@vishnevskiy

Description

@vishnevskiy

I might be doing something wrong.

But when I tried to include an image it doesn't find it so I looked through the code and the start command does not provide an assetRoots option to send to the packager and the packager defaults to

options.assetRoots = [path.resolve(__dirname, '..')];

Which basically makes it equal to the react-native node_module folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions