customize-engine-uglify
UglifyJS adapter for Customize
Installation
npm install customize-engine-uglify
Usage
The following example demonstrates how to use this module:
var customize = // Load files from one directory and merge with a second one // Add two javascript files // Add another js file overriding "a-browser-lib.js"
This will generate the following output
{ uglify:
{ 'bundle.js': 'console.log("another-browser-lib"),console.log("overriding-browser-lib");\n//# sourceMappingURL=bundle.js.map',
'bundle.js.map': '{"version":3,"sources":["/home/nknappmeier/projects/bootprint/customize-engine-uglify/examples/module1/another-browser-lib.js","/home/nknappmeier/projects/bootprint/customize-engine-uglify/examples/module2/overriding-browser-lib.js"],"names":["console","log"],"mappings":"AAAAA,QAAQC,IAAI,uBCAZD,QAAQC,IAAI","file":"bundle.js"}' } }
API-reference
License
customize-engine-uglify
is published under the MIT-license.
See LICENSE.md for details.
Release-Notes
For release notes, see CHANGELOG.md
Contributing guidelines
See CONTRIBUTING.md.