We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I am using react-plock for a Gatsby project and it's causing the build to fail.
react-plock
Definition in package.json, "react-plock": "^1.1.0",
Error message, WebpackError: ReferenceError: window is not defined
index.js:1 [ramitmitra.com]/[react-plock]/dist/index.js:1:409
index.js:1 [ramitmitra.com]/[react-plock]/dist/index.js:1:789
react.js:35 [ramitmitra.com]/[fast-deep-equal]/react.js:35:32
useCallbackRef.js:28 [ramitmitra.com]/[@restart]/hooks/esm/useCallbackRef.js:28:18
useEventCallback.js:6 [ramitmitra.com]/[@restart]/hooks/esm/useEventCallback.js:6:1
static-entry.js:295 webpack:/ramitmitra.com/.cache/static-entry.js:295:22
useMounted.js:2 [ramitmitra.com]/[@restart]/hooks/esm/useMounted.js:2:1
Please look into the issue and release a fix. Thank you for the great package and all the hard work.
The text was updated successfully, but these errors were encountered:
The issue occurs in versions 1.1.0 and 1.2.0. Installing version 1.0.0 with gatsby 4.14 does not cause this exception during the build.
1.1.0
1.2.0
1.0.0
gatsby 4.14
Sorry, something went wrong.
Raised a PR to hopefully get it sorted, please review #19
Hi, released.
No branches or pull requests
Hello,
I am using
react-plock
for a Gatsby project and it's causing the build to fail.Definition in package.json,
"react-plock": "^1.1.0",
Error message,
WebpackError: ReferenceError: window is not defined
index.js:1
[ramitmitra.com]/[react-plock]/dist/index.js:1:409
index.js:1
[ramitmitra.com]/[react-plock]/dist/index.js:1:789
react.js:35
[ramitmitra.com]/[fast-deep-equal]/react.js:35:32
useCallbackRef.js:28
[ramitmitra.com]/[@restart]/hooks/esm/useCallbackRef.js:28:18
useEventCallback.js:6
[ramitmitra.com]/[@restart]/hooks/esm/useEventCallback.js:6:1
static-entry.js:295
webpack:/ramitmitra.com/.cache/static-entry.js:295:22
useMounted.js:2
[ramitmitra.com]/[@restart]/hooks/esm/useMounted.js:2:1
Please look into the issue and release a fix. Thank you for the great package and all the hard work.
The text was updated successfully, but these errors were encountered: