Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 682 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 682 Bytes

browserslist-config-single-spa

A shareable browserslist config for single-spa npm packages. This is intended for use in the single-spa npm packages, not in companys' applications.

Installation

npm install --save-dev browserslist-config-single-spa

yarn add --dev browserslist-config-single-spa

pnpm install --save-dev browserslist-config-single-spa

Now in your package.json, add the following:

{
  "browserslist": ["extends browserslist-config-single-spa"]
}

Now use babel preset env and/or autoprefixer, which each respect browserslist config when determining compilation targets.