Closed TheWeirdDev closed 1 week ago
I'm facing the same issue. Here is my package.json. My project works fine with version 0.7.10, but when I try to upgrade to the latest version, I encounter this problem. package.json
Same here. Happens after upgrading rsbuild to latest version
This should related to: https://github.com/web-infra-dev/rspack/issues/7049
@ahabhgk cc
Fixed by Rspack, https://github.com/web-infra-dev/rsbuild/releases/tag/v1.0.0-alpha.6
Thanks so much @chenjiahan !!!
Version
Details
Using
react-idle-timer
in a react project causes SyntaxError:Reproduce link
https://codesandbox.io/p/devbox/wqrg9x
Reproduce Steps
pnpm create rsbuild@latest
pnpm i react-idle-timer
const App = () => { return (
Rsbuild with React
Start building amazing things with Rsbuild.
); };
export default withIdleTimer(App);