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

fix(script): resolve external requests using @file-services/resolve #1080

Merged
merged 1 commit into from
Dec 27, 2021

Conversation

RomanYarik
Copy link
Contributor

currently we use require.resolve when trying to understand if the request is to a feature file when crating the webpack config for the external feature.
This will fails when browser fields are configured.

Using @file-services/resolve since this resolver handles browser fields

Copy link
Collaborator

@barak007 barak007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AviVahl
Copy link
Contributor

AviVahl commented Dec 27, 2021

I personally think it's the wrong approach to even look at what path was resolved.

@RomanYarik
Copy link
Contributor Author

RomanYarik commented Dec 27, 2021

@AviVahl I agree. Opened an issue #1081

@RomanYarik RomanYarik merged commit af527e8 into master Dec 27, 2021
@RomanYarik RomanYarik deleted the roman/resolve-externals branch December 27, 2021 13:10
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

Successfully merging this pull request may close these issues.

3 participants