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
- Host: GitHub
- URL: https://github.com/imager-io/webpack-imager-example-vanilla
- Owner: imager-io
- Created: 2019-11-18T01:28:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T11:51:42.000Z (over 2 years ago)
- Last Synced: 2025-01-12T18:52:20.468Z (5 months ago)
- Topics: image, page-speed, web-performance, webpack-imager
- Language: JavaScript
- Homepage: https://imager.io
- Size: 6.12 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
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.