Skip to content

Commit 7387a58

Browse files
authored
Update README.md
1 parent a3b50fc commit 7387a58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@ export default defineConfig({
8080
iimport { defineConfig } from 'vite';
8181
import vue from '@vitejs/plugin-vue';
8282
import imagemin from 'unplugin-imagemin/vite';
83-
import path from 'path';
8483
// https://vitejs.dev/config/
8584
export default defineConfig({
8685
plugins: [
8786
vue(),
8887
imagemin({
88+
// default true
89+
cache: false,
8990
// Default configuration options for compressing different pictures
9091
compress: {
9192
jpg: {

0 commit comments

Comments
 (0)