Skip to content

References to assets folder not working with build? #17

@jkarlsen

Description

@jkarlsen

I'm having an issue where if I create a custom component and include a reference to an image in the html template, when I build the package for upload, the asset isn't found.

For instance in the html file I have an element
<img src="../../assets/images/onesearch-logo.png" alt="OneSearch">
In the development environment, the image is found and appears correctly.

When I build and upload the customization package, I can see the src attribute/value are unchanged. But that's not the path to the assets file at the production site, so the file isn't found.

Maybe I don't understand about how to include references to asset files? Or is there a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions