rollup-plugin-styles
rollup-plugin-styles copied to clipboard
🎨 Universal Rollup plugin for styles: PostCSS, Sass, Less, Stylus and more.
https://github.com/southorange1228/rollup-style-demo Just like this demo, if less file content is empty, the file can't be created which source file content is empty. And i changed `rollup-plugin-style`. ```js // before const...
I'd like to use a glob to import multiple sass files into the final bundle. As an example, if I have the following structure ``` style.scss _partial-1.scss _partial-2.scss _partial-3.scss ```...
I have following structure on my project: - common.module.css // Contains bunch of classes which are to be composed - componentA/ - ComponentA.tsx - imports component-a.module.css - component-a.module.css - composes...
I want to inline svg files with mini-svg-data-uri Like what the `@rollup/plugin-image` do: https://github.com/rollup/plugins/blob/05fc8b67163aeb9d7875300ce34aaff40c993465/packages/image/src/index.js#L54-L57 It will be better to support customlize the image inline function.
## Background The Ember.js community is moving toward adopting a [set of conventional Rollup plugins](https://github.com/embroider-build/embroider/tree/main/packages/addon-dev) for its [v2 package format](https://emberjs.github.io/rfcs/0507-embroider-v2-package-format.html), which has libraries publish code with stylesheet imports intact so...
Hi @Anidetrix and thanks for starting this plugin. You told in ReadMe file that one of the reasons for this plugin is supporting code-splitting: > Complete code splitting support, with...
Parcel CSS pretends to compress better CSS compared to css nano, both in terms of final size and speed. It would be nice, if rollup-plugin-styles offers minification using Parcel CSS...
#212 removed `@types/cssnano` as being unnecessary, but `cssnano` itself didn't begin shipping types until 5.1, and those types weren't 100% compatible with what had been in `@types/cssnano`. For whatever reason...
This is the fix long pending issue I had alluded in the discussion in issue [#160](https://github.com/Anidetrix/rollup-plugin-styles/issues/160#issuecomment-770240476).
I am finding tests failing on the main branch with the message: ``` src/loaders/postcss/index.ts:6:21 - error TS7016: Could not find a declaration file for module 'cssnano'. 'D:/dev/libs/rollup-plugin-styles/node_modules/.pnpm/[email protected][email protected]/node_modules/cssnano/dist/index.js' implicitly has an...