mirror of
https://github.com/trafficlunar/blockmatic.git
synced 2026-08-12 12:29:42 +00:00
fix: convert screenshots/images to webp
This commit is contained in:
parent
2f7e268062
commit
1fafe67d1a
6 changed files with 285 additions and 4 deletions
|
|
@ -3,10 +3,11 @@ import { defineConfig } from "vite";
|
|||
|
||||
import react from "@vitejs/plugin-react";
|
||||
import svgr from "vite-plugin-svgr";
|
||||
import { imagetools } from "vite-imagetools";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), svgr()],
|
||||
plugins: [react(), svgr(), imagetools()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue