Closed sheltondong closed 6 years ago
Install the rollup postcss plugin and this plugin, then use it in your rollup config like so:
import postcss from 'rollup-plugin-postcss';
import assets from 'postcss-assets';
export default {
plugins: [
postcss({
plugins: [assets({ /* options */ })]
})
]
}
How to use this plugin in rollup?