feat: remove useless dependencies
This commit is contained in:
15
package.json
15
package.json
@@ -12,17 +12,12 @@
|
|||||||
"format": "prettier --cache --write ."
|
"format": "prettier --cache --write ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.7",
|
"clsx": "^2.1.0",
|
||||||
"music-metadata-browser": "^2.5.10",
|
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"tailwind-merge": "^2.2.1",
|
"tailwind-merge": "^2.2.1"
|
||||||
"vite-tsconfig-paths": "^4.3.1",
|
|
||||||
"zod": "^3.22.4"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
||||||
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
||||||
"@octokit/rest": "^21.0.0",
|
"@octokit/rest": "^21.0.0",
|
||||||
"@types/eslint": "^8.56.1",
|
"@types/eslint": "^8.56.1",
|
||||||
"@types/node": "^18.19.6",
|
"@types/node": "^18.19.6",
|
||||||
@@ -32,7 +27,6 @@
|
|||||||
"@typescript-eslint/parser": "^6.18.1",
|
"@typescript-eslint/parser": "^6.18.1",
|
||||||
"@vitejs/plugin-react-swc": "^3.5.0",
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
||||||
"autoprefixer": "^10.4.16",
|
"autoprefixer": "^10.4.16",
|
||||||
"clsx": "^2.1.0",
|
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"eslint": "^8.56.0",
|
"eslint": "^8.56.0",
|
||||||
"eslint-config-next": "^14.0.4",
|
"eslint-config-next": "^14.0.4",
|
||||||
@@ -41,11 +35,12 @@
|
|||||||
"postcss": "^8.4.33",
|
"postcss": "^8.4.33",
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.1.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.11",
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
||||||
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
||||||
"sass": "^1.70.0",
|
"sass": "^1.70.0",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.3.3",
|
||||||
"vite": "^5.0.12"
|
"vite": "^5.0.12",
|
||||||
|
"vite-tsconfig-paths": "^4.3.1",
|
||||||
|
"zod": "^3.23.8"
|
||||||
},
|
},
|
||||||
"ct3aMetadata": {
|
"ct3aMetadata": {
|
||||||
"initVersion": "7.25.1"
|
"initVersion": "7.25.1"
|
||||||
|
|||||||
3016
pnpm-lock.yaml
generated
3016
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,26 +1,10 @@
|
|||||||
import { defineConfig } from "vite";
|
import { defineConfig } from "vite";
|
||||||
import react from "@vitejs/plugin-react-swc";
|
import react from "@vitejs/plugin-react-swc";
|
||||||
import tsconfigPaths from "vite-tsconfig-paths";
|
import tsconfigPaths from "vite-tsconfig-paths";
|
||||||
import rollupNodePolyfillsPlugin from "rollup-plugin-polyfill-node";
|
|
||||||
import { NodeGlobalsPolyfillPlugin } from "@esbuild-plugins/node-globals-polyfill";
|
|
||||||
import { NodeModulesPolyfillPlugin } from "@esbuild-plugins/node-modules-polyfill";
|
|
||||||
import { manifest } from "./build/manifestPlugin";
|
import { manifest } from "./build/manifestPlugin";
|
||||||
|
|
||||||
const config = defineConfig({
|
const config = defineConfig({
|
||||||
plugins: [manifest(), tsconfigPaths(), react(), rollupNodePolyfillsPlugin()],
|
plugins: [react(), manifest(), tsconfigPaths()],
|
||||||
resolve: {
|
|
||||||
alias: {
|
|
||||||
events: "rollup-plugin-node-polyfills/polyfills/events",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
optimizeDeps: {
|
|
||||||
esbuildOptions: {
|
|
||||||
plugins: [
|
|
||||||
NodeGlobalsPolyfillPlugin({ buffer: true, process: true }),
|
|
||||||
NodeModulesPolyfillPlugin(),
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|||||||
Reference in New Issue
Block a user