@envsa/browserslist-config
Browserslist configuration for @envsa/shared-config.
Overview
It's a shared Browserslist config.
See @envsa/shared-config
for the recommended single-package approach.
Setup
To use just this browserslist config in isolation:
-
Install the .npmrc
in your project root. This is required for correct PNPM behavior:
pnpm dlx @envsa/repo-config --init
-
Add the package:
pnpm add -D @envsa/browserslist-config
Usage
Integrate with your package.json
scripts as you see fit, for example:
"browserslist": ["extends @envsa/browserslist-config"]
or use the cli
CLI
Subcommand: browserslist-config --init
Browserslist configuration for @envsa/shared-config.
Usage:
browserslist-config --init
Option | Description |
---|
--init
-i | Add browserslist key to package.json . |
--help
-h | Print this help info. |
--version
-v | Print the package version. |
License
MIT © Liam Rella