How to use the default function from browserslist

Find comprehensive JavaScript browserslist.default code examples handpicked from public code repositorys.

189
190
191
192
193
194
195
196
197
198
const shouldSearchForConfig = !options.ignoreBrowserslistConfig && !hasTargets;

if (!browsers && shouldSearchForConfig) {
  var _browserslist$loadCon;

  browsers = (_browserslist$loadCon = _browserslist.default.loadConfig({
    config: options.configFile,
    path: options.configPath,
    env: options.browserslistEnv
  })) != null ? _browserslist$loadCon : [];
fork icon0
star icon0
watch icon1