2021-02-24 16:19:00 +01:00
|
|
|
import cssbundle from 'rollup-plugin-css-bundle';
|
|
|
|
import postcss from "postcss";
|
|
|
|
import cssnano from "cssnano";
|
|
|
|
|
|
|
|
export default {
|
2021-02-24 16:45:25 +01:00
|
|
|
input: 'build-config/entrypoints/css-app.js',
|
2021-02-24 16:19:00 +01:00
|
|
|
plugins: [cssbundle({
|
|
|
|
transform: code => postcss([cssnano]).process(code),
|
|
|
|
output: 'dist/uhr.min.css'
|
|
|
|
})]
|
|
|
|
}
|