Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Ability to disable CSS minification if needed #617
Comments
|
I think the minification of class names is a side effect issue with the work i did to add css-modules. Think fundamentally it was a problem with rollup postcss. See: #370 (comment) I can see its affecting people; Ill push a PR their way to fix this. |
|
This is actually related to css modules, not cssnano :). Its a bug in rollup-plugin-postcss: egoist/rollup-plugin-postcss#281 As a workaround you can just disable css-modules if you don't use them: |
katywings
mentioned this issue
katywings
mentioned this issue
|
This helped fix the issue of css minification changing classname but css file still dont get imported when js file built @katywings |
|
@BadMask121 This issue here is related to css minification / css modules. What you are describing sounds like a different problem, therefore I recommend you to open up a seperate issue. If you do create another issue, please also add a reproduction repository! (: |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Looking at #121 if compress is true then CSS is minified by default (which includes minification of class names.
This can prove and issue if you want to export the CSS and use it somewhere else, would it be possible to have a separate flag to explicitly toggle CSS minification?
Cheers.