-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Support For Arrow Expressions in parcel watch #7900
Comments
Your first code snippet should definitely work and does for me in my environment. You're probably triggering some bug with your code, if you upload a simplified reproduction the devs might fix it. |
We've been trying to track down this |
Hi @mischnic I am not sure exactly how to help you reproduce it all I have noticed is that when i use arrow functions over the t
🙈that was a simplified version |
Component.js
index.js
the above is what i was playing around with to get parcel watch to work and the below is my package.json @mischnic I hope this helps
the exact error I get below after running
|
Maybe this comment on a related issue could help. |
Yeah i tried the solutions there before I came here 😔 |
For library targets: - Skips applying refresh transforms in JSTransformer - Skips applying ReactRefreshRuntime - Skips applying transforms in ReactRefreshWrapTransformer - Adds test asserting that runtime and transforms are not applied Fixes #7359, #7496, #7652, #7900 See also: #6892 Co-authored-by: Niklas Mischkulnig <[email protected]>
So this particular error will be fixed by the linked PR, but when building a webapp this should never have occured anyway.
You probably want to add |
💬 RFC
🔦 Context
Hi I am trying to build a package with parcel and keep on getting
@parcel/packager-js: Asset was skipped or not found.
💻 Examples
after some tinkering I realised that i was using
over
I was curious to know if this was done on purpose, or there is a key I need to set
🌎 Environment
The text was updated successfully, but these errors were encountered: