src/lib/style-transform.js
function transform(hash, styles, settings = {}) {
  generator = settings.generator
  offset = settings.offset
  filename = settings.filename
  splitRules = []

  stylis.set({
    prefix:
      typeof settings.vendorPrefixes === 'boolean'
        ? settings.vendorPrefixes
        : true
  })

  stylis(hash, styles)

  if (settings.splitRules) {
    return splitRules
  }

  return splitRules.join('')
}
function transform(hash, styles, settings = {}) {
  generator = settings.generator
  offset = settings.offset
  filename = settings.filename
  splitRules = []

  stylis.set({
    prefix:
      typeof settings.vendorPrefixes === 'boolean'
        ? settings.vendorPrefixes
        : true
  })

  stylis(hash, styles)

  if (settings.splitRules) {
    return splitRules
  }

  return splitRules.join('')
}
function transform ( hash , styles , settings = { } ) { generator = settings . generator offset = settings . offset filename = settings . filename splitRules = [ ] stylis . set ( { prefix : typeof settings . vendorPrefixes === 'boolean' ? settings . vendorPrefixes : true } ) stylis ( hash , styles ) if ( settings . splitRules ) { return splitRules } return splitRules . join ( '' ) }
Public transform function

@param {String} hash
@param {String} styles
@param {Object} settings
@return {string}
Public transform function