【文件属性】:
文件名称:image-webpack-loader:用于webpack的图像加载器模块
文件大小:3.01MB
文件格式:ZIP
更新时间:2021-04-27 16:18:22
JavaScript
image-webpack-loader
用于webpack的图像加载器模块
使用PNG,JPEG,GIF,SVG和WEBP图像
输出的问题应在imagemin上报告。
安装
$ npm install image-webpack-loader --save-dev
安装在容器中
node:12-buster
无需其他准备工作。 所有依赖项将自动编译。 由于图像较大(〜1 GB),因此不建议使用。
node:12-buster-slim
准备脚本:
apt-get update
apt-get install -y --no-install-recommends autoconf automake g++ libpng-dev make
推荐的容器图片。
node:12-alpine
准备脚本:
apk add --no-cache autoconf automake fil
【文件预览】:
image-webpack-loader-master
----.gitignore(81B)
----package.json(1KB)
----package-lock.json(245KB)
----LICENSE(1KB)
----index.js(3KB)
----CHANGELOG.md(1KB)
----.github()
--------workflows()
----schema.json(674B)
----README.md(5KB)
----test()
--------webpack2.config.js(1KB)
--------app.js(115B)
--------webpack1.config.js(1007B)
--------test.bmp(876KB)
--------test.png(74KB)
--------test.jpg(2.32MB)
--------test.svg(130KB)
--------test.gif(2KB)
--------webpack4.config.js(1KB)