Skip to content
Latest commit 0fcf5ef @clinuz clinuz fix failing tests by including the code they need to run, undo re-add…
… of moved file in ui/package.js
..
Failed to load latest commit information.
minifier ENYO-943: Use minified version of our custom LESS distro.
mocha-tests fix failing tests by including the code they need to run, undo re-add…
node_modules ENYO-3469: update enyo/tools npm dependency (install --prod version)
test Revert "ENYO-944: Disable jobs-related testing."
README.md ENYO-3012: fix interaction between `-s` & `-p` + use `packagejs:` in …
deploy.js ENYO-1161: Specify "less" option when minifying Enyo lib.
less-ri.js
less.js ENYO-952: Add resolution-independent version of less.js
lessc.bat ENYO-554: New script to perform LESS->CSS compiling for all .less fil…
lessc.sh ENYO-554: New script to perform LESS->CSS compiling for all .less fil…
minify.bat ENYO-554: Add support for compiling .less files as part of minifier, …
minify.sh ENYO-554: Add support for compiling .less files as part of minifier, …

README.md

Enyo Minifier

The enyo minifier uses Node.js, UglifyJS and the enyo dependency loader to compress any enyo package into a minimized form.

Using the all-in-one deploy.js (which minifies both Enyo itself & the application) is generally prefered.

Invocation

For convenience, there are both Windows and Unix versions of the script that invokes the node tool. They follow the same invocation:

path/to/enyo/tools/minify/minify.sh -output relative/path/to/build/dir/buildfilename package.js

The -o is the output path, if not ending in a /, will be used as the name of the output build files. -h gives full usage details.

Running tests

  1. You first need to install an http server handling php (MANP or WAMP, ...)
  2. Configure your http server to serve the files of the enyo project
  3. Point your browser to enyo/tools/... to run the various testcases
Something went wrong with that request. Please try again.