uhr/rollup.config-css-red.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
305 B
JavaScript

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