What operating system, Node.js, and npm version?
node : 16.14.0 / npm 9.1.2
What happened?
error - node_modules\next-translate-plugin\lib\cjs\loader.js??ruleSet[1].rules[13].use!.\node_modules\@ant-design\cssinjs\es\hooks\useHMR.js (12:0) @
error - window is not defined
What did you expect to happen?
can use version 2.0.2 with antd without error
Are you willing to submit a pull request to fix this bug?
no, just report bug
What version of this package are you using? 2.0.2
What operating system, Node.js, and npm version? node : 16.14.0 / npm 9.1.2
What happened? error - node_modules\next-translate-plugin\lib\cjs\loader.js??ruleSet[1].rules[13].use!.\node_modules\@ant-design\cssinjs\es\hooks\useHMR.js (12:0) @
error - window is not defined
What did you expect to happen? can use version 2.0.2 with antd without error
Are you willing to submit a pull request to fix this bug? no, just report bug