我正在尝试将global.css文件处理为具有汇总和苗条的postcss。
import postcss from 'rollup-plugin-postcss';
input: ['src/main.js', 'public/styles/global.css'],
postcss({
config: {
path: '.postcssrc.js'
}
}),
运行npm run dev
rollup v1.21.4
bundles src/main.js, public/styles/global.css → public/bundle.js...
[!] Error: UMD and IIFE output formats are not supported for code-splitting builds.