Skip to content

Remove unused classes from your app and vendor stylesheets

License

Notifications You must be signed in to change notification settings

fauxton/ember-tachyons-sweeper

Repository files navigation

ember-tachyons-sweeper

This addon aims to remove any unused css classes from both your application and vendor stylesheets. It is not tachyons-specific per se, but will only attempt to remove selectors where either:

  1. the element has matching CSS styles but is not used in any of the template files or
  2. a defined class is not used in any template files

Limitations

This does not (yet) take into account classes that are added to the DOM via Ember or other JavaScript code. This includes classNames, classNameBindings, etc.

Installation

  • git clone <repository-url> this repository
  • cd ember-tachyons-sweeper
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

About

Remove unused classes from your app and vendor stylesheets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published