gatsby-plugin-css-modules-flow-types
Create Flow types for CSS Modules in Gatsby
Last updated 2 years ago by silvenon .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install gatsby-plugin-css-modules-flow-types 
SYNC missed versions from official npm registry.

gatsby-plugin-css-modules-flow-types

Gatsby plugin for generating Flow types for CSS Modules using css-modules-flow-types.

Usage

Install the plugin:

yarn add gatsby-plugin-css-modules-flow-types

Add it to your gatsby-config.js file:

plugins: [
  'gatsby-plugin-css-modules-flow-types',
]

And that's it!

Now when you import a .module.css file, css-modules-flow-types will automatically create a corresponding .module.css.flow file containing its Flow types. Flow will use it to warn you if you're using class names that aren't defined in the .module.css file.

Current Tags

  • 0.1.2                                ...           latest (2 years ago)

3 Versions

  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |