-
-
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
@parcel/bundler-experimental: The expression evaluated to a falsy value #8442
Comments
I noticed the issue might be from
Considering that we have the below bundleGraph, graph TD;
index.js-->async.js;
index.js-->styled.js;
async.js-->|async import|styled.js;
styled.js-->foo.css;
|
Yep, I'm on this. I notice the same problem. I think we made a false assumption that internalized bundles (at this point in time) would not have any children, which is not the case. I've got a small reproduction & I'll link the PR once I fix it :) |
For the next person, this can also happen if you use |
🐛 bug report
When using
@parcel/[email protected]
, I am getting the below error:I've created a repo to reproduce this error. https://github.com/liamqma/reproduce-parcel-compiled-error
Steps to reproduce:
Please be aware that the code is extremely simplified for demo purpose. If I use
@parcel/bundler-default
instead of@parcel/bundler-experimental
, the build error goes away.🤔 Expected Behavior
The bundler should bundle successfully.
😯 Current Behavior
Encounter a build error:
💁 Possible Solution
NA
💻 Code Sample
https://github.com/liamqma/reproduce-parcel-compiled-error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: