browserslist-config-enonic
v1.0.8
Published
Browserslist config for Enonic applications
Downloads
1,153
Readme
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')
}
}]
]
}