@ifings/browserslist-config
v1.0.0
Published
Shareable Browserslist config for iFings
Downloads
8
Readme
@ifings/browserslist-config
Shareable Browserslist config for Full Facing.
Table of Contents
Usage
Usage
If you're directly consuming this package in an application, add this to your package.json
:
{
"browserslist": [
"extends @ifings/browserslist-config"
]
}
When manually configuring a tool that uses Browserslist, importing this package returns the array of supported browsers.
For example, when configuring babel-preset-env via JavaScript:
{
presets: [
['env', {
targets: {
browsers: require('@ifings/browserslist-config')
}
}]
]
}
Install
This project uses node and npm.
$ npm install @ifings/browserslist-config
Contribute
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
License
MIT