Skip to content

Commit

Permalink
Remove unused plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
perliedman committed Dec 27, 2024
1 parent 9d4d40f commit 52edd21
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 62 deletions.
51 changes: 0 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
"zustand": "^3.5.1"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@eslint/js": "^9.17.0",
"@tailwindcss/forms": "^0.5.9",
"@testing-library/jest-dom": "^5.16.4",
Expand Down
10 changes: 1 addition & 9 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { NodeGlobalsPolyfillPlugin } from "@esbuild-plugins/node-globals-polyfill";
import { NodeModulesPolyfillPlugin } from "@esbuild-plugins/node-modules-polyfill";
import { nodePolyfills } from "vite-plugin-node-polyfills";

// https://vite.dev/config/
Expand All @@ -14,13 +12,7 @@ export default defineConfig({
global: "globalThis",
},
// Enable esbuild polyfill plugins
plugins: [
NodeGlobalsPolyfillPlugin({
process: true,
buffer: true,
}),
NodeModulesPolyfillPlugin(),
],
plugins: [],
},
},
});

0 comments on commit 52edd21

Please sign in to comment.