webpack-imager-example-vanilla
v0.1.1
Published
Brute force image optimization example for Webpack.
Downloads
2
Maintainers
Readme
About
This makes use of Webpack and Imager without any ‘non-standard’ Webpack plugins.
Setup
$ npm install
Run Webpack
$ npx webpack
Will save the optimized images to ./dist/public
.
Note that Webpack may emit warnings for “large” files. Annoyingly it’s only considering the ‘input’ file size, and not the ‘output’ or optimized file size.