Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@yoast/browserslist-config

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yoast/browserslist-config

The browserslist configuration for Yoast projects

latest
Source
npmnpm
Version
1.2.4
Version published
Maintainers
8
Created
Source

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