edloidas / browserslist-config-enonic

:no_entry_sign: :arrow_heading_up: Moved

Home Page:https://github.com/enonic/enonic-npm/tree/master/packages/browserslist-config-enonic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

❗❗❗ This repository is moved to enonic-npm ❗❗❗

browserslist-config-enonic

Travis Build Status devDependency Status

Shareable Browserslist config for @enonic applications.

Install

npm install --save-dev browserslist-config-enonic

Usage

Choose the desired way to use Browserslist configuration. Additional information can be found in the official documentation.

package.json
{
  "browserslist": [
    "extends browserslist-config-enonic"
  ]
}
Browserslist config (.browserslistrc)
extends browserslist-config-enonic
Babel config

In Babel configuration in .js format with babel-preset-env, requiring config will return the array of supported browsers.

{
  presets: [
    [ 'env', {
      targets: {
        browsers: require('browserslist-config-enonic')
      }
    }]
  ]
}

License

Apache-2.0 © Enonic

About

:no_entry_sign: :arrow_heading_up: Moved

https://github.com/enonic/enonic-npm/tree/master/packages/browserslist-config-enonic

License:Apache License 2.0


Languages

Language:JavaScript 100.0%