Skip to content

Commit

Permalink
test: disable loading eslint() plugin
Browse files Browse the repository at this point in the history
Signed-off-by: rare-magma <[email protected]>
  • Loading branch information
rare-magma committed Oct 12, 2023
1 parent 5379c41 commit 48be6ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import eslint from "vite-plugin-eslint";
import { VitePWA } from "vite-plugin-pwa";

export default defineConfig(() => {
export default defineConfig((env) => {
return {
build: {
outDir: "build",
Expand All @@ -13,7 +13,7 @@ export default defineConfig(() => {
},
plugins: [
react(),
eslint(),
env.mode !== "test" && eslint(),
VitePWA({
manifest: {
theme_color: "#282a36",
Expand Down

0 comments on commit 48be6ba

Please sign in to comment.