An open API service indexing awesome lists of open source software.

https://github.com/imager-io/webpack-imager-example-vanilla

Imager Webpack Example
https://github.com/imager-io/webpack-imager-example-vanilla

image page-speed web-performance webpack-imager

Last synced: 3 months ago
JSON representation

Imager Webpack Example

Awesome Lists containing this project

README

        

# About

This makes use of [Webpack](https://webpack.js.org) and [Imager](https://github.com/imager-io/imager) without any ‘non-standard’ Webpack plugins.

# Setup
```shell
$ npm install
```

# Run Webpack
```shell
$ 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.