Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

s2s-handler-css-to-flow

akameco7MIT0.1.1

s2s handler for css to flow

s2s, css, postcss, scss, flow, flowtype, css-to-flow

readme

s2s-handler-css-to-flow

Config

s2s.config.js

const handlerCssToFlow = require('s2s-handler-css-to-flow').default

module.exports = {
  watch: './**/*.css',
  plugins: [
    {
      test: /.*.css$/,
      handler: handlerCssToFlow,
      output: '[name].css.flow',
    },
  ],
}

or use DEFAULT_CONFIG

const { DEFAULT_CONFIG } = require('s2s-handler-css-to-flow')

module.exports = {
  watch: './**/*.css',
  plugins: [DEFAULT_CONFIG],
}