-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
misc: not scaffold 'dist' if the user chooses default #716
Conversation
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to do a bit more work here. let outputPath = dist
will set dist nonetheless and you will need to move around some logic to check if outputPath is present too. If it is, then set it
Hi @evenstensberg , I don't quite get what you mean by "check if outputPath is present". |
Yes it will, but the default output path is |
The Did I miss some point here? I think the only place that sets the output option is in this |
If you set multiple entries and press enter you can see the default output option being set regardless. Idea is to remove that setting entirely |
As what mentioned in #708, I think @TheLarkInn only wants to remove it for the single entry case. |
Webpack will set that property regardless, and it should not be in the generated configuration file if it is set to |
@EvsChen Thanks for your update. I labeled the Pull Request so reviewers will review it again. @evenstensberg Please review the new changes. |
As mentioned in #708 , we don't need to scaffold the "dist" property in output path if the entry is single and output path is not chosen by the user.
What kind of change does this PR introduce?
misc
Did you add tests for your changes?
N/A
If relevant, did you update the documentation?
Summary
Does this PR introduce a breaking change?
No
Other information