relekang / postcss-reason-modules

PostCSS plugin to create reasonml modules from css modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostCSS Reason Modules

PostCSS plugin to create reasonml modules from css modules.

Usage

Check you project for existed PostCSS config: postcss.config.js in the project root, "postcss" section in package.json or postcss in bundle config.

If you already use PostCSS, add the plugin to plugins list:

module.exports = {
  plugins: [
+   require('postcss-reason-modules'),
    require('autoprefixer')
  ]
}

If you do not use PostCSS, add it according to official docs and set this plugin in settings.

About

PostCSS plugin to create reasonml modules from css modules.

License:MIT License


Languages

Language:JavaScript 93.2%Language:CSS 4.6%Language:OCaml 2.1%