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

Suppress browserslist warning in webpack target (#30571) #30727

Merged
merged 2 commits into from
Apr 27, 2024

Commits on Apr 27, 2024

  1. Suppress browserslist warning in webpack target (go-gitea#30571)

    1. Set
    [`BROWSERSLIST_IGNORE_OLD_DATA`](https://github.com/browserslist/browserslist/blob/c6ddf7b3870a4585822d06ec77e8dd2401b8e1ed/node.js#L400)
    to avoid warning on outdated browserslist data which the end user can
    likely not do anything about and which is currently visible in the v1.21
    branch.
    2. Suppress all command echoing and add a "Running webpack..." message
    in place.
    
    Warning in question was this:
    
    ```
    Browserslist: caniuse-lite is outdated. Please run:
      npx update-browserslist-db@latest
      Why you should do it regularly: https://github.com/browserslist/update-db#readme
    ```
    silverwind authored and GiteaBot committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    60a96e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b5c624 View commit details
    Browse the repository at this point in the history