0.3.0 • Published 10 years ago

rjs-redundancy-checker v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

rJS Redundancy Checker v0.3.0

This tool, cross-references your rJS (requireJS optimiser) build log with the public assets in your project and highlights which files are not being bundled and potentially not needed anymore. Useful if you want to keep redundancy in your codebase to a minimum. It comes with a set of configurable options which are explained below.

Installation

npm install rjs-redundancy-checker

Options Explained

Gotchas

  • make sure the paths in the compiled rjs build log start from the same location as where you're running the tool from else you will end with it reporting that all files are redundant

Changelog

0.3.0 (22 Jan 2015)

  • adds package json
  • converts rjs-redundancy-checker into a node package
  • adds 'disableConsoleLogs' setting
  • improves documentation
  • splits example usage into separate directory

0.2.0 (31 Aug 2014)

  • replaces PHP implementation with JavaScript as it just makes more sense seeing this is a JS tool

0.1.0 (28 Aug 2014)

  • initial PHP implementation

Suggestions, comments and queries welcome, send to aaron@burtdev.net