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

image-config-webpack-plugin: Add minifier for production build #35

Open
ernscht opened this issue Jan 3, 2019 · 0 comments
Open

image-config-webpack-plugin: Add minifier for production build #35

ernscht opened this issue Jan 3, 2019 · 0 comments
Labels
enhancement New feature or request image-config image-config-webpack-plugin

Comments

@ernscht
Copy link
Member

ernscht commented Jan 3, 2019

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

Images always stay untouched, also in production build.

Expected behavior

Images for production could be minified.

What is the motivation / use case for changing the behavior?

Lossless minificaton of images would reduce the production build size.
We coud take over the webpack config from Nitro to the image-config-webpack-plugin. It uses the img-loader with some imagemin plugins in a pre phase of the url-loader.
This config would make sense for the production build and works perfect ;-)

What do you think?

@ernscht ernscht added the enhancement New feature or request label Jan 3, 2019
@ernscht ernscht added the image-config image-config-webpack-plugin label Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request image-config image-config-webpack-plugin
Development

No branches or pull requests

1 participant