Package Exports
- @node-minify/core
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@node-minify/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A very light minifier Node.js module.
node-minify
Installation
npm install @node-minify/core @node-minify/uglify-js
Usage
const minify = require('@node-minify/core');
const uglifyJS = require('@node-minify/uglify-js');
minify({
compressor: uglifyJS,
input: 'foo.js',
output: 'bar.js',
callback: function(err, min) {}
});
Documentation
Visit https://node-minify.2clics.net for full documentation