ruglify

'Require' minified JavaScript as a string

ruglify

"Require" minified JavaScript as a string

Installation

npm install ruglify

Usage

var ruglify = require('ruglify');
var minifiedJQuery = ruglify('./jquery.js');
console.log(minifiedJQuery);

Uses the same resolution algorithm as require for maximum simplicity. Built on top of rfile.

License

MIT

Repository

https://github.com/ForbesLindesay/ruglify.git


上一篇:grunt-size
下一篇:deferrer

相关推荐

暂无相关文章

官方社区

扫码加入 JavaScript 社区