Skip to content

Cannot Add Images to Build (Workaround?) #160

Open
@dominicbarnes

Description

@dominicbarnes

I'm trying to put together a builder plugin to assemble images into a sprite during the build, but can't seem to inject images, only styles.

Using component 0.19 (w/ builder 0.10) Builder#addFile("images", ...) doesn't behave like I would expect. It turns out that static assets like images/fonts/etc don't have a hook, and are fired off right away, so the copy/link operation is likely done (or at least in-flight) before I can get to it.

Is this changed in the later versions of the builder? (v0.11+) Is there a recommended workaround right now?

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