rollup-plugin-styles
rollup-plugin-styles copied to clipboard
🎨 Universal Rollup plugin for styles: PostCSS, Sass, Less, Stylus and more.
It seems like it doesn't support nesting scss classes with the `scoped` flag example: ```html .my-component { ... &-title { ... } } ``` error: ```bash [!] (plugin styles) Error:...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Get nonce attribute from `__webpack_nonce__` and set this attribute to style tag fix: https://github.com/Anidetrix/rollup-plugin-styles/issues/215
I'd like to preprocess CSS with rollup + this plugin with no javascript involved (SASS in, CSS out). ```js { input: 'css/index.css', output: { file: "foo.css", }, plugins: [ styles({...
https://lightningcss.dev/docs.html
Please can you support custom export directories, also need to support relative paths, also the generated files follow the assetFileNames configuration by default, but some scenarios require fixed file names,...
Using this rollup config, when I do some changes to styles it also affects entry hash. I think it is unexpected behavior as the output js file have its contents...
rollup-plugin-styles is trying to read a postcss config from the root folder of my filesystem caused by src/index.js per https://windicss.org/integrations/rollup.html ```js import "virtual:windi.css" ``` when i remove the import, i...
I'm getting the following error when running the typescript compiler on a project that uses this library: ``` $ yarn tsc --skipLibCheck false node_modules/rollup-plugin-styles/dist/index.d.ts:337:34 - error TS2694: Namespace 'cssnanoPlugin' has...
I'm trying to use `preserveModules: true` primarily for JS code, but this has a confusing output for CSS files. ### Input ```js /* main.js */ import './alpha.css'; import './beta.css'; console.log('hi')...