react-refresh-webpack-plugin
react-refresh-webpack-plugin copied to clipboard
exports is not defined
env: "react": "^18.2.0", "webpack-cli": "^4.10.0", "webpack-dev-server": "^4.11.1", "webpack": "^5.74.0",
I got the babel set up wrong?
Can you provide a reproducible example or explain more about your setup? It would be hard to offer any help just by looking at this. Maybe you are using pure ESM but did not configure it properly?
i have the same bump
This is an issue in commonjs modules which are transformed by babel with the code exports.default = void 0;
where exports is initially set to void 0
but later on in the code is assigned to an actual value.