New issue
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
Pointer events not firing when bundled with Parcel bundler #30
Comments
Note: it appears that the |
Can you try the example on deck.gl's 6.3-release branch? |
Ok, switched to the |
Hmmm I guess not - found some Parcel documentation that says it should: https://parceljs.org/module_resolution.html#package.json-%60browser%60-field |
... but it sounds like it only works as an alias for
It does not appear to work with the current:
|
Looks like it should? parcel-bundler/parcel#200 Can you inspect your bundle and see if hammer.js is included? |
hammer.js was included. I will try to see if browser-resolve is finding it correctly. BTW it does say it should support the way you are doing it: |
hmmm, perhaps it is a Windows thing? parcel-bundler/parcel#1883 (comment) |
Hi @Pessimistress I have set up a simple repo to demonstrate this bug: I can close this issue if you aren't able to reproduce, it would then be a bug in Parcel. |
Thanks for following up on this. Could you post an update here when it's resolved? I don't have a PC so it's been a little difficult for me to track compatibility on Windows. |
Yes I will follow up here. Meanwhile, can you try to repro on your Mac? |
Ok, bug does not repro on a Mac. Not your bug, sorry and thanks! |
Bug happens when the files are in subfolders - backslashes on windows do not match forward slashes in a path. I've sent a PR to Parcel. |
Hello,
Sorry if this is not the right place to file this bug, but it appears it might be related to #13 ?
Setup
Install the Parcel bundler
npm install -g parcel
Repro case
deck.gl
deck.gl/examples/website/plot/
index.html
toapp.js
:parcel serve ./index.html --open
Expected
Mouse / pointer events to orbit the view
Actual
View does not respond to mouse
The text was updated successfully, but these errors were encountered: