2.0.4 • Published 5 years ago
@motork/browserslist-config-motork v2.0.4
MotorK's browserslist configuration
Store a sharable configuration for browsers' list to be used by all MotorK's projects.
To install it, run:
npm i -D @motork/browserslist-config-motork
Then, locate the browserslist
property inside package.json
of the project you want to configure and pass MotorK's configuration to it:
{
"browserslist": [
"extends @motork/browserslist-config-motork"
]
}
or, if configuring a tool via JS
babel: {
presets: [
[
'env', {
'targets': {
'browsers': require( '@motork/browserslist-config-motork' )
}
}
]
]
}
Another option is to configure a .browserslistrc
file located on your project's root containing the following line:
extends @motork/browserslist-config-motork
To test the current query visit browserl.ist