rollup-plugin-css-only icon indicating copy to clipboard operation
rollup-plugin-css-only copied to clipboard

Rollup plugin that bundles imported css

Results 12 rollup-plugin-css-only issues
Sort by recently updated
recently updated
newest added

It seems the plugin only supports bundling css into a single `bundle.css` file. Would it be possible to support injection of the styles into an existing `bundle.js`?

rollup.config.js file ```javascript import css from 'rollup-plugin-css-only' export default { input: 'src/index.js', output: { file: 'dist/bundle.js', format: 'cjs', assetFileNames: '[name]-[hash][extname]' }, plugins: [ css() ] } ``` src/index.js ```javascript import...

From valid CSS files (e.g. that start with `@charset "utf-8";`), this plugin can generate an invalid CSS output (e.g. `@charset "utf-8";` appears multiple times and/or somewhere other than the start...

based on #29 parses `@import './test.css'` lines in CSS files and adds them as imports within rollup, e.g., ```css @import './test.css'; @import '~test_module/test.css'; .root { color: red; } ``` will...

Some todos that would be nice to check off before releasing v4. - [x] Double check if README is clear - [ ] Add more examples in README (e.g. typical...

Is there any way to compress the output css file? ```js plugins: [ nodeResolve(), commonjs(), babel(getBabelOptions(isModern)), vue({ css: false, compileTemplate: true }), css({ output: 'index.css' }), banner(getBanner()), terser(getTerserOptions()) ] ```

[!] Error: Unexpected token (Note that you need plugins to import files that are not JavaScript) src/components/Tooltip/Tooltip.vue?vue&type=style&index=0&id=e6caf58e&scoped=true&lang.scss (2:0) 1:

Hi, i'm using your plugin to process css and i'm using single `@import` statement which loads google fonts (i want to have one single `.css` file in bundle). However this...

When css is imported from modules that are being imported themselves, I'm uncertain if the order is as it should be. I'm coming from using `css-loader` with webpack, which from...

The plugin is ignoring the scoped CSS and converted it to standard CSS