-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Document webpack change: make browserslist the default target when browserslist config is available #4009
Projects
Comments
smelukov
added a commit
to smelukov/webpack.js.org
that referenced
this issue
Sep 30, 2020
smelukov
added a commit
to smelukov/webpack.js.org
that referenced
this issue
Sep 30, 2020
This should be merged into #3968 |
sokra
pushed a commit
that referenced
this issue
Oct 8, 2020
* (configuration): browserslist output.target and output.environment (closes #4009) * Apply suggestions from code review Co-authored-by: Eugene Hlushko <jhlushko@gmail.com> * Apply suggestions from code review Co-authored-by: Fernando Montoya <montogeek@gmail.com> Co-authored-by: Eugene Hlushko <jhlushko@gmail.com> Co-authored-by: Fernando Montoya <montogeek@gmail.com>
montogeek
added a commit
that referenced
this issue
Oct 9, 2020
* (configuration): browserslist output.target and output.environment (closes #4009) * Apply suggestions from code review Co-authored-by: Eugene Hlushko <jhlushko@gmail.com> * Apply suggestions from code review Co-authored-by: Fernando Montoya <montogeek@gmail.com> * (docs): target * (docs): some fixes * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Fernando Montoya <montogeek@gmail.com> Co-authored-by: Eugene Hlushko <jhlushko@gmail.com> Co-authored-by: Fernando Montoya <montogeek@gmail.com> Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
aoberoi
added a commit
to aoberoi/webpack.js.org
that referenced
this issue
Dec 15, 2023
The interpretation of the current description is ambiguous, as it pertains to how a configuration function can or cannot benefit from the use of `--node-env` as a way to set `mode`. One might interpret it as if that happens before the configuration function is invoked, and therefore should be available to use for logic like switching in the function. That would be wrong. This update makes it clear that the assignment of a default `mode` based on `--node-env` happens after the configuration function is executed. Related: webpack#4009 Fixes webpack#3992
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A pull request by @sokra was merged and maintainers requested a documentation change.
See pull request: webpack/webpack#11541
What kind of change does this PR introduce?
defaults change
Did you add tests for your changes?
yes
Does this PR introduce a breaking change?
yes
What needs to be documented once your changes are merged?
when browserslist info is available, this will be used by default
The text was updated successfully, but these errors were encountered: