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