GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cssnano/example-cli-usage at master · Wanbillion/cssnano

Expand file tree

/

example-cli-usage

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

example-cli-usage

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
input.css
input.css
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 

README.md

Outline

example cli usage

This example demonstrates how to use cssnano with postcss-cli. You can copy the source files to get a simple example of how it works!

To run the script, make sure that you have the appropriate dependencies using npm install, and then you can run this script via the command line:

npm run minify

That's it! You should now see a file named output.css in the directory with your minified styles.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.