Skip to content

Commit 9d7f18c

Browse files
Merge branch 'dev'
2 parents 7638e61 + f754ca8 commit 9d7f18c

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

Gruntfile.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@ module.exports = function( grunt ) {
6464
}],
6565
},
6666

67+
// Default options with multiple files converting to multiple files in wildcard folder
68+
multiple_files5: {
69+
options: {},
70+
files: [{
71+
expand: true,
72+
cwd: "test/css/",
73+
src: "**/*.css",
74+
dest: "test/temp/",
75+
ext: ".min.css",
76+
}],
77+
},
78+
6779
// Custom options
6880
custom_options: {
6981
options: {

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,21 @@ multiple_files4: {
128128
},
129129
```
130130

131+
Purge a folder as is into multiple files while keeping sub-folder intact:
132+
133+
```js
134+
multiple_files5: {
135+
options: {},
136+
files: [{
137+
expand: true,
138+
cwd: "css/",
139+
src: "**/*.css", // all *.css files in the css/ and it's sub-folders will be purged
140+
dest: "output/", //and placed into the output folder
141+
ext: ".min.css",
142+
}],
143+
},
144+
```
145+
131146
Custom options:
132147

133148
```js
@@ -149,6 +164,7 @@ In lieu of a formal styleguide, take care to maintain the existing coding style.
149164

150165
## Release History
151166

167+
* 1.1.0 - Mad task async
152168
* 1.0.2 - Fixed to major `css-purge` version
153169
* 1.0.1 - Reduced dependencies
154170
* 1.0.0 - Updated to CSS-Purge 3.0.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grunt-css-purge",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "Grunt plugin to run CSS-Purge",
55
"homepage": "https://github.com/dominikwilkowski/grunt-css-purge",
66
"repository": {

0 commit comments

Comments
 (0)