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:
- the element has matching CSS styles but is not used in any of the template files or
- a defined class is not used in any template files
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.
git clone <repository-url>
this repositorycd ember-tachyons-sweeper
npm install
ember serve
- Visit your app at http://localhost:4200.
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.