JSPM

  • Created
  • Published
  • Downloads 895437
  • Score
    100M100P100Q188019F
  • License MIT

Seamless integration between Rollup and PostCSS

Package Exports

  • rollup-plugin-postcss

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-postcss) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rollup-plugin-postcss Build Status

Seamless integration between Rollup and PostCSS.

Installation

npm install rollup-plugin-postcss

Example

rollup.config.js

import { rollup } from 'rollup';
import postcss from 'rollup-plugin-postcss';

rollup({
  entry: 'main.js',
  plugins: [
    postcss({
      plugins: [
        // cssnext(),
        // yourPostcssPlugin()
      ]
    })
  ]
}).then(...)

entry

import '/path/to/some_random_file.css'

License

MIT © EGOIST