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 entry point conflict with actually exist file #549

Closed
wants to merge 2 commits into from

Conversation

Justinidlerz
Copy link
Contributor

@Justinidlerz Justinidlerz commented Mar 16, 2023

Fix #547

@Justinidlerz Justinidlerz requested a review from ije March 16, 2023 17:11
@@ -42,7 +42,17 @@ func (task *BuildTask) ID() string {

if pkg.Submodule != "" {
name = pkg.Submodule
} else {
pack, _ := fetchPackageInfo(pkg.Name, pkg.Version)
Copy link
Member

@ije ije Mar 16, 2023

Choose a reason for hiding this comment

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

  • pls handle the error in case pack is nil.
  • consider the "." of exports

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, Will fix these cases tomorrow
Fixing pack is nil is difficult in the ID method coz the method is called in many places.
I think can refactor the logic of the build later.

Copy link
Member

@ije ije left a comment

Choose a reason for hiding this comment

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

and package css path is broken, check the ci details

@Justinidlerz
Copy link
Contributor Author

and package CSS path is broken, check the ci details

Yup, Do you want to follow up the CSS file path with the entry path?

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.

Failed to import graphql - library seems to be completely broken
2 participants