Skip to content
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

[Feature]: in bundless, if cannot resolve, error message should be emitted #251

Open
SoonIter opened this issue Sep 30, 2024 · 1 comment

Comments

@SoonIter
Copy link
Member

          By the way, in bundless mode, if cannot resolve, error message should be emitted

Originally posted by @SoonIter in #250 (comment)

@SoonIter SoonIter changed the title By the way, in bundless mode, if cannot resolve, error message should be emitted [Feature]: in bundless, if cannot resolve, error message should be emitted Sep 30, 2024
@fi3ework
Copy link
Member

if cannot resolve, error message should be emitted

In this case, it's because the resolved module is externalized, Rspack won't check if it's available anymore.

Yes, we need to ensure that the emitted files could be resolved. In this case, we overlooked the ⁠index mainFields, which makes this a fixable bug for us. Let's see if there are any paths that Rslib could not detect in the future. If so, we can add a post-check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants