Seamless integration between Rollup and PostCSS.
Installation
npm install rollup-plugin-postcss
Example
config
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