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

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