-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use with Parcel #14
Comments
Ah, so, Parcel environment does not reference the Or, is it due to the ES6 module scope? What will happen if you do: console.log([window, this, this === window]); ? |
When I create a code snippet containing your code I get the following output:
I don't know why this happens it's just an observation. |
It’s a standard behavior of ES6 module implementation. I am mostly making JavaScript plugins for the browsers and have never checked it if it would work with any package bundling system, because personally I don’t really like the module concept. I just put that Since you are a real user that encounter this problem regarding the ES6 standard and you found out that the only solution to make it work without declaring a UMD-like snippet within my code (that I don’t like too), then I would agree to you if you want to make such pull request. So that I can share this issue to my other JavaScript plugins then. Thanks. |
Hi,
I'm trying to bundle my javascript, css, … with parcel. Unfortunately I couldn't get the tag-picker to work.
When I try to use tag-picker like so:
I get the following error:
But when I change the last line of tag-picker to the following it works:
I don't really know why and if that change will cause other errors. I applied the changes on my own fork (https://github.com/jnnkB/tag-picker) so I could open an pull request if wanted.
Here's a zip that contains all the code:
parcel_tag_picker.zip
Thanks a lot!
The text was updated successfully, but these errors were encountered: