uhr/rollup.config-css-pink.js
Manuel Friedli 3cb1a940f0
All checks were successful
continuous-integration/drone/push Build is passing
Generate the CSS files by rollup as well. Grunt is now obsolete.
2021-02-24 16:19:00 +01:00

11 lines
307 B
JavaScript

import cssbundle from 'rollup-plugin-css-bundle';
import postcss from 'postcss';
import cssnano from 'cssnano';
export default {
input: 'build-configs/css-pink.js',
plugins: [cssbundle({
transform: code => postcss([cssnano]).process(code),
output: 'dist/uhr-pink.min.css'
})]
}