メモ用
"pnpm": {
"overrides": {
"rollup": "npm:@rollup/wasm-node"
}
}
overrudesするだけです。pnpmのとこはそれぞれのドキュメント見て当てはまるやつで書く!!
ちなみにnpmは
"overrides": {
"rollup": "npm:@rollup/wasm-node"
}だけ
etc,
"devDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"typescript": "^5.2.2",
"vite": "^5.3.4"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5"
},
"overrides": {
"rollup": "npm:@rollup/wasm-node"
}