diff --git a/package.json b/package.json index e61186422..1fbc5c971 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", - "@vitejs/plugin-react": "^4.3.1", + "@vitejs/plugin-react": "^4.3.2", "babel-plugin-i18next-extract": "^0.10.0", "concurrently": "^8.2.2", "eslint": "^8.57.1", @@ -112,7 +112,6 @@ "husky": "^9.1.6", "lint-staged": "^15.2.10", "prettier": "^3.3.3", - "rollup-preserve-directives": "^1.1.1", "tsx": "^4.19.1", "typescript": "^5.6.2", "typia": "^6.10.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 61fc812d3..3a0296c0d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -152,8 +152,8 @@ devDependencies: specifier: ^8.7.0 version: 8.7.0(eslint@8.57.1)(typescript@5.6.2) '@vitejs/plugin-react': - specifier: ^4.3.1 - version: 4.3.1(vite@5.4.7) + specifier: ^4.3.2 + version: 4.3.2(vite@5.4.7) babel-plugin-i18next-extract: specifier: ^0.10.0 version: 0.10.0 @@ -193,9 +193,6 @@ devDependencies: prettier: specifier: ^3.3.3 version: 3.3.3 - rollup-preserve-directives: - specifier: ^1.1.1 - version: 1.1.1(rollup@4.22.4) tsx: specifier: ^4.19.1 version: 4.19.1 @@ -2430,8 +2427,8 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitejs/plugin-react@4.3.1(vite@5.4.7): - resolution: {integrity: sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==} + /@vitejs/plugin-react@4.3.2(vite@5.4.7): + resolution: {integrity: sha512-hieu+o05v4glEBucTcKMK3dlES0OeJlD9YVOAPraVMOInBCwzumaIFiUjr4bHK7NPgnAHgiskUoceKercrN8vg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: vite: ^4.2.0 || ^5.0.0 @@ -4773,12 +4770,6 @@ packages: '@jridgewell/sourcemap-codec': 1.5.0 dev: true - /magic-string@0.30.11: - resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - dev: true - /make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} engines: {node: '>=6'} @@ -5541,15 +5532,6 @@ packages: estree-walker: 0.6.1 dev: true - /rollup-preserve-directives@1.1.1(rollup@4.22.4): - resolution: {integrity: sha512-+eQafbuEfDPfxQ9hQPlwaROfin4yiVRxap8hnrvvvcSGoukv1tTiYpAW9mvm3uR8J+fe4xd8FdVd5rz9q7jZ+Q==} - peerDependencies: - rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 - dependencies: - magic-string: 0.30.11 - rollup: 4.22.4 - dev: true - /rollup@4.22.4: resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} diff --git a/vite.config.js b/vite.config.js index c621c5d9e..eb47bdef9 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,6 +1,5 @@ import react from '@vitejs/plugin-react'; import { resolve } from 'path'; -import preserveDirectives from 'rollup-preserve-directives'; import { defineConfig } from 'vite'; import { comlink } from 'vite-plugin-comlink'; import wasm from 'vite-plugin-wasm'; @@ -18,7 +17,6 @@ export default defineConfig({ main: resolve(__dirname, 'index.html'), build: resolve(__dirname, 'build/index.html'), }, - plugins: [preserveDirectives()], }, target: 'es2020', sourcemap: true,