Skip to content

File Processor #116

Open
Open

Description

@digitalkaoz

hey @sergcen im interested in implementing a file-processor, to e.g. minify/optimize the to be processed image.

something like like this:

{
            url: "copy",
            assetsPath: "somepath",
            shrink: 8,
            fileProcessor: (content, file) => {
                return imagemin.buffer(content, {})
            }
}

as it is an async process i guess this module needs some massive async refactoring (im seeing an open PR, maybe this can be a starting point)

or do you have some other idea simpler idea for chaining in some image optimizations?!

are you interested in a PR?

Activity

  1. sergcen commented on Dec 24, 2017

    @sergcen
    Contributor

    hi @digitalkaoz
    sure, i think it's will useful feature

  2. dkrnl commented on Jan 15, 2018

    @dkrnl

    hi @sergcen !
    this feature needed me. can i write PR ?

  3. digitalkaoz commented on Jan 15, 2018

    @digitalkaoz
    ContributorAuthor

    @dkrnl go for it. i didnt found the time yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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