Socket
Socket
Sign inDemoInstall

@wordpress/browserslist-config

Package Overview
Dependencies
0
Maintainers
24
Versions
103
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @wordpress/browserslist-config

WordPress Browserslist shared configuration.


Version published
Weekly downloads
83K
increased by1.48%
Maintainers
24
Created
Weekly downloads
 

Readme

Source

Browserslist Config

WordPress Browserslist shareable config for Browserslist.

Installation

Install the module

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

Note: This package requires Node.js 14.0.0 or later. It is not compatible with older versions.

Usage

Add this to your package.json file:

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

Alternatively, add this to .browserslistrc file:

extends @wordpress/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.

Contributing to this package

This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to npm and used by WordPress as well as other software projects.

To find out more about contributing to this package or Gutenberg as a whole, please read the project's main contributor guide.



Code is Poetry.

Keywords

FAQs

Last updated on 19 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc