mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
405 B
TypeScript
17 lines
405 B
TypeScript
import * as UglifyCSS from 'uglifycss';
|
|
|
|
var test1 = UglifyCSS.processString('some css string');
|
|
|
|
var test2 = UglifyCSS.processString('some css string', {
|
|
maxLineLen: 0,
|
|
expandVars: true,
|
|
uglyComments: true,
|
|
cuteComments: true
|
|
});
|
|
|
|
var test3 = UglifyCSS.processFiles(['/path/to/file']);
|
|
|
|
var test4 = UglifyCSS.processFiles(['/path/to/file'], {
|
|
maxLineLen: 0,
|
|
cuteComments: true
|
|
}); |