Skip to content

Commit ff334b6

Browse files
committed
Add support for keep special comments. Fixes #3
1 parent acb23f2 commit ff334b6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/parse-options.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ module.exports = function(options) {
1616
case "s1":
1717
options.keepSpecialComments = 1;
1818
break;
19+
case "keepSpecialComments":
20+
options.keepSpecialComments = argSplit[1];
21+
break;
1922
// for compatibility - does nothing
2023
case "skip-advanced":
2124
options.advanced = false;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "less-plugin-clean-css",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "clean-css plugin for less.js",
55
"homepage": "http://lesscss.org",
66
"author": {

0 commit comments

Comments
 (0)