Lines Matching refs:minify
36 * [Minify method](#minify-method)
73 var output = new CleanCSS(options).minify(input);
95 … from now on - to specify an input source map pass it a 2nd argument to `minify` method or via a h…
107 * `minify` method improved signature accepting a list of hashes for a predictable traversal;
140 * `returnPromise` - controls whether `minify` method returns a Promise object or not; defaults to `…
226 }).minify(source);
438 Once configured clean-css provides a `minify` method to optimize a given CSS, e.g.
441 var output = new CleanCSS(options).minify(source);
444 The output of the `minify` method is a hash with following fields:
457 The `minify` method also accepts an input source map, e.g.
460 var output = new CleanCSS(options).minify(source, inputSourceMap);
466 new CleanCSS(options).minify(source, function (error, output) {
477 .minify(source)
493 new CleanCSS().minify(['path/to/file/one', 'path/to/file/two']);
497 new CleanCSS().minify({
508 new CleanCSS().minify([
520 In order to inline remote `@import` statements you need to provide a callback to minify method as f…
524 new CleanCSS({ inline: ['remote'] }).minify(source, function (error, output) {
547 }).minify(source);
565 }).minify(source)
624 .minify(source, function (error, output) {
630 You can also pass an input source map directly as a 2nd argument to `minify` method:
634 .minify(source, inputSourceMap, function (error, output) {
643 new CleanCSS({ sourceMap: true, rebaseTo: pathToOutputDirectory }).minify({
751 * [@grandrath](https://github.com/grandrath) (Martin Grandrath) for improving `minify` method sourc…