Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Processor #116

Open
digitalkaoz opened this issue Dec 15, 2017 · 3 comments
Open

File Processor #116

digitalkaoz opened this issue Dec 15, 2017 · 3 comments

Comments

@digitalkaoz
Copy link
Contributor

digitalkaoz commented Dec 15, 2017

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?

@sergcen
Copy link
Collaborator

sergcen commented Dec 24, 2017

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

@dkrnl
Copy link

dkrnl commented Jan 15, 2018

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

@digitalkaoz
Copy link
Contributor Author

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants