function css(options = {}) {
  const cssOptions = _.omit(options, ['styleLoader'])
  const loaders = [{ loader: 'css-loader', options: cssOptions }]

  if (options.styleLoader !== false) {
    loaders.unshift({ loader: 'style-loader', options: options.styleLoader || {} })
  }

  return (context, util) =>
    util.addLoader(
      Object.assign(
        {
          test: /\.css$/,
          use: loaders
        },
        context.match
      )
    )
}
@param {object} [options]    You can pass all css-loader options.
@param {object} [options.styleLoader]    style-loader options. If set to 'false' the 'style-loader' won't be added.
@return {Function}
@see https://github.com/webpack-contrib/css-loader