Closed guybedford closed 2 years ago
This fix uses the logic that the require condition should always beat the import condition when both are resolved for the same scoping.
An alternative fix could be to rescope the parent specifically, and that fix would follow a similar code path.
@vovacodes perhaps you can verify if this works for you further?
Testing it
@guybedford could you please publish this fix?
@vovacodes released in 1.0.0-beta.19.
This fix uses the logic that the require condition should always beat the import condition when both are resolved for the same scoping.
An alternative fix could be to rescope the parent specifically, and that fix would follow a similar code path.
@vovacodes perhaps you can verify if this works for you further?