@midigator/browserslist-config

1.0.1 • Public • Published

browserslist-config-midigator

The browserslist supported by Midigator. This is used by tools like @babel/preset-env and autoprefixer to ensure that our frontend code at Midigator is compiled to work in the browsers we support.

Notes

  • See this file to see which browsers are supported.
  • The test snapshot shows exactly which browsers were captured by the config the last time we updated this library. However, that list does not necessarily represent the browsers that code will be compiled to. What determines which browsers code is compiled to is the version of browserslist that is found inside of any project's yarn.lock. The version there is usually determined by the version of @babel/preset-env or autoprefixer that you have installed.

Installation

yarn add @midigator/browserslist-config

Usage

In your package.json, create a "browserslist" property that extends the midigator config. Read here for more details.

{ "browserslist": ["extends @midigator/browserslist-config"] }

In your .babelrc, add 'babel-preset-env'. You do not need to add any config options to it in here because babel-preset-env uses browserslist which already looks at your package.json's "browserslist" config by default.

{ presets: ["@babel/preset-env"]; }

Readme

Keywords

none

Package Sidebar

Install

npm i @midigator/browserslist-config

Weekly Downloads

2

Version

1.0.1

License

Apache-2.0

Unpacked Size

3.26 kB

Total Files

9

Last publish

Collaborators

  • binarygrrl
  • dreamerdesi88
  • bvogel-midigator
  • ardyaryan
  • rmatthews
  • schw2iizer