New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@yoast/browserslist-config

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yoast/browserslist-config

The browserslist configuration for Yoast projects

1.2.4
latest
Version published
Weekly downloads
65
-52.9%
Maintainers
0
Weekly downloads
 
Created

Browserslist Config

Yoast browserslist shareable config for Browserslist.

Installation

Install the module

$ npm install browserslist @yoast/browserslist-config --save-dev

or

$ yarn add --dev @yoast/browserslist-config

Usage

Add this to your package.json file:

"browserslist": [
	"extends @yoast/browserslist-config"
]

Alternatively, add this to .browserslistrc file:

extends @yoast/browserslist-config

This package when imported returns an array of supported browsers, for more configuration examples including Autoprefixer, Babel, ESLint, PostCSS, and stylelint see the Browserslist examples repo.

List determination

This list is based on the list of browsers with a usage higher than 1 percent. This is according to the can I use statistics. We then take this list and reduce it to the browsers that we actually want to support based on our own usage data.

This list is periodically reviewed.

FAQs

Package last updated on 07 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts