diff --git a/package.json b/package.json index 929ed18..d5abc70 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,9 @@ "not dead", "not op_mini all" ], - "sideEffects": false, + "sideEffects": [ + "*.less" + ], "dependencies": { "@arco-design/theme-line": "^0.0.3", "@arco-design/web-react": "^2.53.2", @@ -52,6 +54,7 @@ "@svgr/webpack": "^8.1.0", "@types/event-emitter": "^0.3.4", "@types/lodash.debounce": "^4.0.7", + "@types/node": "^20.8.9", "@types/react": "^17.0.67", "@types/react-copy-to-clipboard": "^5.0.6", "@types/react-dom": "^17.0.21", diff --git a/yarn.lock b/yarn.lock index df8477a..d1a0690 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1884,7 +1884,7 @@ dependencies: "@types/node" "*" -"@types/node@*": +"@types/node@*", "@types/node@^20.8.9": version "20.8.9" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.9.tgz#646390b4fab269abce59c308fc286dcd818a2b08" integrity sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==