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

Webpack 前端打包工具 - 使用 image-webpack-loader 壓縮圖片 | Roya's Blog #77

Open
awdr74100 opened this issue Jul 25, 2020 · 1 comment

Comments

@awdr74100
Copy link
Owner

https://awdr74100.github.io/2020-07-24-webpack-imagewebpackloader/

在 Gulp 可使用 gulp-imagemin 套件來壓縮 PNG、JPG 等類型圖片,想當然的在 Webpack 也有類似的套件可使用,名為 image-webpack-loader,一樣都是基於 imagemin 所設計,兩者在使用上幾乎沒有差別,一般人可能聽過的是 imagemin-webpack-plugin,這是屬於 Plugin 類型的套件,代表是在生成資源時才進行壓縮,無法像 im

@wen27
Copy link

wen27 commented Mar 24, 2021

謝謝分享 很受用^^

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

No branches or pull requests

2 participants