Skip to content

Lightbox is looking for null.js in the wrong folder after compiling (Sage 10) #1919

@Rvervuurt

Description

@Rvervuurt

Photoswipe lightbox is trying to load a null.#ID#.js-file in domain.test/vendor/-folder, however it can't find it there, since it's placed in domain.test/public/vendor/. I can't seem to find how to change where the plugin looks for that file.

I'm using a Sage 10 theme, if that helps anyone with finding out why this is happening.

When running yarn dev, it works fine, but as soon as I compile and the theme is made ready for deployment, it breaks because it can't find the js-file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions