In your rollup.config.js file:import cssbundle from 'rollup-plugin-css-bundle'; export default { input: 'index.js', output: { file: 'dist/index.js', format: 'cjs' }, plugins: [cssbundle()] };Like all well-behave
In yourrollup.config.jsfile: importcssbundlefrom'rollup-plugin-css-bundle';exportdefault{input:'index.js',output: {file:'dist/index.js',format:'cjs'},plugins: [cssbundle()] }; Like all well-behaved Rollup plugins, cssbundle supports theincludeandexcludeoptions that filter the files on which...