Skip to content

Issue using gulp-bless and gulp-rev #41

@MannyC

Description

@MannyC

I had an issue using this plug-in in conjunction with gulp-rev

Gulp-rev stores some metadata on the vinyl files which it later uses to create a manifest.

Because gulp-bless creates new vinyl files even if it isn't splitting the file, when I run the initial gulp-rev before gulp-bless, none of my css ended up being added to the revision manifest files as the new files don't have the metadata attached.

Currently I am instead running gulp-bless first, then gulp-rev, and then using gulp-rev-replace to update the import(s) in the blessed files (as the second and subsequent files will be renamed by rev).

This works. Another solution would be to copy the metadata into the first of the split files, and into unsplit files. I think that would be my preferred solution, as the rev'd naming convention would make slightly more sense, and it's more likely to just work when introduced into a gulp-rev workflow.

Even if you choose not to address this, then at least this issue can document a workaround.

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