csso-cli
csso-cli copied to clipboard
Command line interface for CSSO
Is it possible to specify multiple input files to all be added to the same output file?
This CSS code cause error `[csstree-match] BREAK after 15000 iterations` ```css .selector { box-shadow:0 0 0 0 rgba(88,7,126,.122),0 22px 49px 0 rgba(88,7,126,.122),0 88px 88px 0 rgba(88,7,126,.102),0 199px 119px 0 rgba(88,7,126,.059),0...
Calling csso-cli from command line I got this error. Downgrade to 3.0.0 fix the poroblem (function (exports, require, module, __filename, __dirname) { import { basename, extname } from 'path'; ^...
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...
A media query using calc like this is perfectly valid in the browser, but is completely removed from the minified version of the css file. ``` @media screen and (min-width:...
/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/utils/names.cjs:69 let hack = property[0]; ^ TypeError: Cannot read properties of undefined (reading '0') at Object.getPropertyDescriptor [as property] (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/utils/names.cjs:69:24) at getPropertyFingerprint (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/csso/cjs/restructure/6-restructBlock.cjs:72:30) at List. (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/csso/cjs/restructure/6-restructBlock.cjs:222:29) at List.forEachRight (/Users/jack/.nvm/versions/node/v20.17.0/lib/node_modules/csso-cli/node_modules/css-tree/cjs/utils/List.cjs:160:16) at Object.processRule...
Hey! Actually CSS Nesting is not working when minifying files. The code just gets trimmed to the first element. So a `style.css` like this. ``` html { width: 100%; height:...
When running csso , this error is thrown : TypeError: this.outputHelp is not a function A simple fix in index.js is to replace this.outputHelp(); by command.outputHelp();