cssnano-preset-default 9.0.1 → 9.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/package.json +33 -30
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ Note that you may wish to publish your own preset to npm for reusability, should
|
|
|
93
93
|
|
|
94
94
|
## Plugins
|
|
95
95
|
|
|
96
|
-
### [`cssnano-utils`](https://github.com/cssnano/cssnano/tree/
|
|
96
|
+
### [`cssnano-utils`](https://github.com/cssnano/cssnano/tree/main/packages/cssnano-utils)
|
|
97
97
|
|
|
98
98
|
> Utility methods used by cssnano
|
|
99
99
|
|
|
@@ -103,13 +103,13 @@ Note that you may wish to publish your own preset to npm for reusability, should
|
|
|
103
103
|
|
|
104
104
|
This plugin is loaded with its default configuration.
|
|
105
105
|
|
|
106
|
-
### [`postcss-colormin`](https://github.com/cssnano/cssnano/tree/
|
|
106
|
+
### [`postcss-colormin`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-colormin)
|
|
107
107
|
|
|
108
108
|
> Minify colors in your CSS files with PostCSS.
|
|
109
109
|
|
|
110
110
|
This plugin is loaded with its default configuration.
|
|
111
111
|
|
|
112
|
-
### [`postcss-convert-values`](https://github.com/cssnano/cssnano/tree/
|
|
112
|
+
### [`postcss-convert-values`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-convert-values)
|
|
113
113
|
|
|
114
114
|
> Convert values with PostCSS (e.g. ms -> s)
|
|
115
115
|
|
|
@@ -121,67 +121,67 @@ This plugin is loaded with the following configuration:
|
|
|
121
121
|
}
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
-
### [`postcss-discard-comments`](https://github.com/cssnano/cssnano/tree/
|
|
124
|
+
### [`postcss-discard-comments`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-comments)
|
|
125
125
|
|
|
126
126
|
> Discard comments in your CSS files with PostCSS.
|
|
127
127
|
|
|
128
128
|
This plugin is loaded with its default configuration.
|
|
129
129
|
|
|
130
|
-
### [`postcss-discard-duplicates`](https://github.com/cssnano/cssnano/tree/
|
|
130
|
+
### [`postcss-discard-duplicates`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-duplicates)
|
|
131
131
|
|
|
132
132
|
> Discard duplicate rules in your CSS files with PostCSS.
|
|
133
133
|
|
|
134
134
|
This plugin is loaded with its default configuration.
|
|
135
135
|
|
|
136
|
-
### [`postcss-discard-empty`](https://github.com/cssnano/cssnano/tree/
|
|
136
|
+
### [`postcss-discard-empty`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-empty)
|
|
137
137
|
|
|
138
138
|
> Discard empty rules and values with PostCSS.
|
|
139
139
|
|
|
140
140
|
This plugin is loaded with its default configuration.
|
|
141
141
|
|
|
142
|
-
### [`postcss-discard-overridden`](https://github.com/cssnano/cssnano/tree/
|
|
142
|
+
### [`postcss-discard-overridden`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-overridden)
|
|
143
143
|
|
|
144
144
|
> PostCSS plugin to discard overridden @keyframes or @counter-style.
|
|
145
145
|
|
|
146
146
|
This plugin is loaded with its default configuration.
|
|
147
147
|
|
|
148
|
-
### [`postcss-merge-longhand`](https://github.com/cssnano/cssnano/tree/
|
|
148
|
+
### [`postcss-merge-longhand`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-merge-longhand)
|
|
149
149
|
|
|
150
150
|
> Merge longhand properties into shorthand with PostCSS.
|
|
151
151
|
|
|
152
152
|
This plugin is loaded with its default configuration.
|
|
153
153
|
|
|
154
|
-
### [`postcss-merge-rules`](https://github.com/cssnano/cssnano/tree/
|
|
154
|
+
### [`postcss-merge-rules`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-merge-rules)
|
|
155
155
|
|
|
156
156
|
> Merge CSS rules with PostCSS.
|
|
157
157
|
|
|
158
158
|
This plugin is loaded with its default configuration.
|
|
159
159
|
|
|
160
|
-
### [`postcss-minify-font-values`](https://github.com/cssnano/cssnano/tree/
|
|
160
|
+
### [`postcss-minify-font-values`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-minify-font-values)
|
|
161
161
|
|
|
162
162
|
> Minify font declarations with PostCSS
|
|
163
163
|
|
|
164
164
|
This plugin is loaded with its default configuration.
|
|
165
165
|
|
|
166
|
-
### [`postcss-minify-gradients`](https://github.com/cssnano/cssnano/tree/
|
|
166
|
+
### [`postcss-minify-gradients`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-minify-gradients)
|
|
167
167
|
|
|
168
168
|
> Minify gradient parameters with PostCSS.
|
|
169
169
|
|
|
170
170
|
This plugin is loaded with its default configuration.
|
|
171
171
|
|
|
172
|
-
### [`postcss-minify-params`](https://github.com/cssnano/cssnano/tree/
|
|
172
|
+
### [`postcss-minify-params`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-minify-params)
|
|
173
173
|
|
|
174
174
|
> Minify at-rule params with PostCSS
|
|
175
175
|
|
|
176
176
|
This plugin is loaded with its default configuration.
|
|
177
177
|
|
|
178
|
-
### [`postcss-minify-selectors`](https://github.com/cssnano/cssnano/tree/
|
|
178
|
+
### [`postcss-minify-selectors`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-minify-selectors)
|
|
179
179
|
|
|
180
180
|
> Minify selectors with PostCSS.
|
|
181
181
|
|
|
182
182
|
This plugin is loaded with its default configuration.
|
|
183
183
|
|
|
184
|
-
### [`postcss-normalize-charset`](https://github.com/cssnano/cssnano/tree/
|
|
184
|
+
### [`postcss-normalize-charset`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-charset)
|
|
185
185
|
|
|
186
186
|
> Add necessary or remove extra charset with PostCSS
|
|
187
187
|
|
|
@@ -193,73 +193,73 @@ This plugin is loaded with the following configuration:
|
|
|
193
193
|
}
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
### [`postcss-normalize-display-values`](https://github.com/cssnano/cssnano/tree/
|
|
196
|
+
### [`postcss-normalize-display-values`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-display-values)
|
|
197
197
|
|
|
198
198
|
> Normalize multiple value display syntaxes into single values.
|
|
199
199
|
|
|
200
200
|
This plugin is loaded with its default configuration.
|
|
201
201
|
|
|
202
|
-
### [`postcss-normalize-positions`](https://github.com/cssnano/cssnano/tree/
|
|
202
|
+
### [`postcss-normalize-positions`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-positions)
|
|
203
203
|
|
|
204
204
|
> Normalize keyword values for position into length values.
|
|
205
205
|
|
|
206
206
|
This plugin is loaded with its default configuration.
|
|
207
207
|
|
|
208
|
-
### [`postcss-normalize-repeat-style`](https://github.com/cssnano/cssnano/tree/
|
|
208
|
+
### [`postcss-normalize-repeat-style`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-repeat-style)
|
|
209
209
|
|
|
210
210
|
> Convert two value syntax for repeat-style into one value.
|
|
211
211
|
|
|
212
212
|
This plugin is loaded with its default configuration.
|
|
213
213
|
|
|
214
|
-
### [`postcss-normalize-string`](https://github.com/cssnano/cssnano/tree/
|
|
214
|
+
### [`postcss-normalize-string`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-string)
|
|
215
215
|
|
|
216
216
|
> Normalize wrapping quotes for CSS string literals.
|
|
217
217
|
|
|
218
218
|
This plugin is loaded with its default configuration.
|
|
219
219
|
|
|
220
|
-
### [`postcss-normalize-timing-functions`](https://github.com/cssnano/cssnano/tree/
|
|
220
|
+
### [`postcss-normalize-timing-functions`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-timing-functions)
|
|
221
221
|
|
|
222
222
|
> Normalize CSS animation/transition timing functions.
|
|
223
223
|
|
|
224
224
|
This plugin is loaded with its default configuration.
|
|
225
225
|
|
|
226
|
-
### [`postcss-normalize-unicode`](https://github.com/cssnano/cssnano/tree/
|
|
226
|
+
### [`postcss-normalize-unicode`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-unicode)
|
|
227
227
|
|
|
228
228
|
> Normalize unicode-range descriptors, and can convert to wildcard ranges.
|
|
229
229
|
|
|
230
230
|
This plugin is loaded with its default configuration.
|
|
231
231
|
|
|
232
|
-
### [`postcss-normalize-url`](https://github.com/cssnano/cssnano/tree/
|
|
232
|
+
### [`postcss-normalize-url`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-url)
|
|
233
233
|
|
|
234
234
|
> Normalize URLs with PostCSS
|
|
235
235
|
|
|
236
236
|
This plugin is loaded with its default configuration.
|
|
237
237
|
|
|
238
|
-
### [`postcss-normalize-whitespace`](https://github.com/cssnano/cssnano/tree/
|
|
238
|
+
### [`postcss-normalize-whitespace`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-whitespace)
|
|
239
239
|
|
|
240
240
|
> Trim whitespace inside and around CSS rules & declarations.
|
|
241
241
|
|
|
242
242
|
This plugin is loaded with its default configuration.
|
|
243
243
|
|
|
244
|
-
### [`postcss-ordered-values`](https://github.com/cssnano/cssnano/tree/
|
|
244
|
+
### [`postcss-ordered-values`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-ordered-values)
|
|
245
245
|
|
|
246
246
|
> Ensure values are ordered consistently in your CSS.
|
|
247
247
|
|
|
248
248
|
This plugin is loaded with its default configuration.
|
|
249
249
|
|
|
250
|
-
### [`postcss-reduce-initial`](https://github.com/cssnano/cssnano/tree/
|
|
250
|
+
### [`postcss-reduce-initial`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-reduce-initial)
|
|
251
251
|
|
|
252
252
|
> Reduce initial definitions to the actual initial value, where possible.
|
|
253
253
|
|
|
254
254
|
This plugin is loaded with its default configuration.
|
|
255
255
|
|
|
256
|
-
### [`postcss-reduce-transforms`](https://github.com/cssnano/cssnano/tree/
|
|
256
|
+
### [`postcss-reduce-transforms`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-reduce-transforms)
|
|
257
257
|
|
|
258
258
|
> Reduce transform functions with PostCSS.
|
|
259
259
|
|
|
260
260
|
This plugin is loaded with its default configuration.
|
|
261
261
|
|
|
262
|
-
### [`postcss-svgo`](https://github.com/cssnano/cssnano/tree/
|
|
262
|
+
### [`postcss-svgo`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-svgo)
|
|
263
263
|
|
|
264
264
|
> Optimise inline SVG with PostCSS.
|
|
265
265
|
|
|
@@ -280,7 +280,7 @@ This plugin is loaded with the following configuration:
|
|
|
280
280
|
}
|
|
281
281
|
```
|
|
282
282
|
|
|
283
|
-
### [`postcss-unique-selectors`](https://github.com/cssnano/cssnano/tree/
|
|
283
|
+
### [`postcss-unique-selectors`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-unique-selectors)
|
|
284
284
|
|
|
285
285
|
> Ensure CSS selectors are unique.
|
|
286
286
|
|
|
@@ -288,7 +288,7 @@ This plugin is loaded with its default configuration.
|
|
|
288
288
|
|
|
289
289
|
## Contributors
|
|
290
290
|
|
|
291
|
-
See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/
|
|
291
|
+
See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/main/CONTRIBUTORS.md).
|
|
292
292
|
|
|
293
293
|
## License
|
|
294
294
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cssnano-preset-default",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.2",
|
|
4
4
|
"description": "Safe defaults for cssnano which require minimal configuration.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./types/index.d.ts",
|
|
8
8
|
"default": "./src/index.js"
|
|
9
|
-
}
|
|
9
|
+
},
|
|
10
|
+
"./package.json": "./package.json"
|
|
10
11
|
},
|
|
12
|
+
"main": "./src/index.js",
|
|
13
|
+
"types": "./types/index.d.ts",
|
|
11
14
|
"files": [
|
|
12
15
|
"LICENSE-MIT",
|
|
13
16
|
"src",
|
|
@@ -16,34 +19,34 @@
|
|
|
16
19
|
"license": "MIT",
|
|
17
20
|
"dependencies": {
|
|
18
21
|
"browserslist": "^4.28.8",
|
|
19
|
-
"cssnano-utils": "^7.0.
|
|
20
|
-
"postcss-calc": "^11.0.
|
|
21
|
-
"postcss-colormin": "^9.0.
|
|
22
|
-
"postcss-convert-values": "^9.0.
|
|
23
|
-
"postcss-discard-comments": "^9.0.
|
|
24
|
-
"postcss-discard-duplicates": "^9.0.
|
|
25
|
-
"postcss-discard-empty": "^9.0.
|
|
26
|
-
"postcss-discard-overridden": "^9.0.
|
|
27
|
-
"postcss-merge-longhand": "^9.0.
|
|
28
|
-
"postcss-merge-rules": "^9.0.
|
|
29
|
-
"postcss-minify-font-values": "^9.0.
|
|
30
|
-
"postcss-minify-gradients": "^9.0.
|
|
31
|
-
"postcss-minify-params": "^9.0.
|
|
32
|
-
"postcss-minify-selectors": "^9.0.
|
|
33
|
-
"postcss-normalize-charset": "^9.0.
|
|
34
|
-
"postcss-normalize-display-values": "^9.0.
|
|
35
|
-
"postcss-normalize-positions": "^9.0.
|
|
36
|
-
"postcss-normalize-repeat-style": "^9.0.
|
|
37
|
-
"postcss-normalize-string": "^9.0.
|
|
38
|
-
"postcss-normalize-timing-functions": "^9.0.
|
|
39
|
-
"postcss-normalize-unicode": "^9.0.
|
|
40
|
-
"postcss-normalize-url": "^9.0.
|
|
41
|
-
"postcss-normalize-whitespace": "^9.0.
|
|
42
|
-
"postcss-ordered-values": "^9.0.
|
|
43
|
-
"postcss-reduce-initial": "^9.0.
|
|
44
|
-
"postcss-reduce-transforms": "^9.0.
|
|
45
|
-
"postcss-svgo": "^9.0.
|
|
46
|
-
"postcss-unique-selectors": "^9.0.
|
|
22
|
+
"cssnano-utils": "^7.0.1",
|
|
23
|
+
"postcss-calc": "^11.0.3",
|
|
24
|
+
"postcss-colormin": "^9.0.1",
|
|
25
|
+
"postcss-convert-values": "^9.0.1",
|
|
26
|
+
"postcss-discard-comments": "^9.0.1",
|
|
27
|
+
"postcss-discard-duplicates": "^9.0.1",
|
|
28
|
+
"postcss-discard-empty": "^9.0.1",
|
|
29
|
+
"postcss-discard-overridden": "^9.0.1",
|
|
30
|
+
"postcss-merge-longhand": "^9.0.2",
|
|
31
|
+
"postcss-merge-rules": "^9.0.2",
|
|
32
|
+
"postcss-minify-font-values": "^9.0.1",
|
|
33
|
+
"postcss-minify-gradients": "^9.0.1",
|
|
34
|
+
"postcss-minify-params": "^9.0.1",
|
|
35
|
+
"postcss-minify-selectors": "^9.0.2",
|
|
36
|
+
"postcss-normalize-charset": "^9.0.1",
|
|
37
|
+
"postcss-normalize-display-values": "^9.0.1",
|
|
38
|
+
"postcss-normalize-positions": "^9.0.1",
|
|
39
|
+
"postcss-normalize-repeat-style": "^9.0.1",
|
|
40
|
+
"postcss-normalize-string": "^9.0.1",
|
|
41
|
+
"postcss-normalize-timing-functions": "^9.0.1",
|
|
42
|
+
"postcss-normalize-unicode": "^9.0.1",
|
|
43
|
+
"postcss-normalize-url": "^9.0.1",
|
|
44
|
+
"postcss-normalize-whitespace": "^9.0.1",
|
|
45
|
+
"postcss-ordered-values": "^9.0.1",
|
|
46
|
+
"postcss-reduce-initial": "^9.0.1",
|
|
47
|
+
"postcss-reduce-transforms": "^9.0.1",
|
|
48
|
+
"postcss-svgo": "^9.0.1",
|
|
49
|
+
"postcss-unique-selectors": "^9.0.1"
|
|
47
50
|
},
|
|
48
51
|
"author": {
|
|
49
52
|
"name": "Ben Briggs",
|