vite-imagetools
Advanced tools
Comparing version 2.3.0 to 2.3.1
{ | ||
"name": "vite-imagetools", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.mjs", |
@@ -6,3 +6,3 @@ # vite-imagetools :toolbox: | ||
A toolbox of custom import directives that can transform your image at compile-time. | ||
A toolbox of custom import directives that can transform your images at compile-time. | ||
All of the image transformations are powered by [sharp](https://sharp.pixelplumbing.com). | ||
@@ -24,7 +24,7 @@ | ||
``` | ||
npm install --dev vite-plugin-imageset | ||
npm install --dev vite-imagetools | ||
``` | ||
Or with [yarn](https://yarnpkg.com): | ||
``` | ||
yarn add --dev vite-plugin-imageset | ||
yarn add --dev vite-imagetools | ||
``` | ||
@@ -36,7 +36,7 @@ | ||
```typescript | ||
import imageset from 'vite-plugin-imageset' | ||
import imagetools from 'vite-imagetools' | ||
export default defineConfig({ | ||
plugins: [ | ||
imageset() | ||
imagetools() | ||
] | ||
@@ -207,2 +207,6 @@ }) | ||
--- | ||
### `favicon` | ||
_TODO_ | ||
--- | ||
### `rotate` | ||
@@ -209,0 +213,0 @@ _TODO_ |
64614
260