code: function resolveFlavors(opts) {
    var string = process.env[opts.env || 'FLAVORS']
  
    if (string) {
      return string.split(',')
    } else if (opts.flavors) {
      return opts.flavors
    }
  
    return []
  }
docs: opts passed through .babelrc as second argument { "plugins": [["tipsi-flavors", { "env": "APP_NAME", "flavors": ["custom", "tipsi"]}]] }