cssnano-preset-advanced 9.0.0 → 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 +32 -32
- package/package.json +10 -7
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ This plugin is loaded with the following configuration:
|
|
|
123
123
|
}
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
-
### [`cssnano-utils`](https://github.com/cssnano/cssnano/tree/
|
|
126
|
+
### [`cssnano-utils`](https://github.com/cssnano/cssnano/tree/main/packages/cssnano-utils)
|
|
127
127
|
|
|
128
128
|
> Utility methods used by cssnano
|
|
129
129
|
|
|
@@ -133,13 +133,13 @@ This plugin is loaded with the following configuration:
|
|
|
133
133
|
|
|
134
134
|
This plugin is loaded with its default configuration.
|
|
135
135
|
|
|
136
|
-
### [`postcss-colormin`](https://github.com/cssnano/cssnano/tree/
|
|
136
|
+
### [`postcss-colormin`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-colormin)
|
|
137
137
|
|
|
138
138
|
> Minify colors in your CSS files with PostCSS.
|
|
139
139
|
|
|
140
140
|
This plugin is loaded with its default configuration.
|
|
141
141
|
|
|
142
|
-
### [`postcss-convert-values`](https://github.com/cssnano/cssnano/tree/
|
|
142
|
+
### [`postcss-convert-values`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-convert-values)
|
|
143
143
|
|
|
144
144
|
> Convert values with PostCSS (e.g. ms -> s)
|
|
145
145
|
|
|
@@ -151,79 +151,79 @@ This plugin is loaded with the following configuration:
|
|
|
151
151
|
}
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
-
### [`postcss-discard-comments`](https://github.com/cssnano/cssnano/tree/
|
|
154
|
+
### [`postcss-discard-comments`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-comments)
|
|
155
155
|
|
|
156
156
|
> Discard comments in your CSS files with PostCSS.
|
|
157
157
|
|
|
158
158
|
This plugin is loaded with its default configuration.
|
|
159
159
|
|
|
160
|
-
### [`postcss-discard-duplicates`](https://github.com/cssnano/cssnano/tree/
|
|
160
|
+
### [`postcss-discard-duplicates`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-duplicates)
|
|
161
161
|
|
|
162
162
|
> Discard duplicate rules in your CSS files with PostCSS.
|
|
163
163
|
|
|
164
164
|
This plugin is loaded with its default configuration.
|
|
165
165
|
|
|
166
|
-
### [`postcss-discard-empty`](https://github.com/cssnano/cssnano/tree/
|
|
166
|
+
### [`postcss-discard-empty`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-empty)
|
|
167
167
|
|
|
168
168
|
> Discard empty rules and values with PostCSS.
|
|
169
169
|
|
|
170
170
|
This plugin is loaded with its default configuration.
|
|
171
171
|
|
|
172
|
-
### [`postcss-discard-overridden`](https://github.com/cssnano/cssnano/tree/
|
|
172
|
+
### [`postcss-discard-overridden`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-overridden)
|
|
173
173
|
|
|
174
174
|
> PostCSS plugin to discard overridden @keyframes or @counter-style.
|
|
175
175
|
|
|
176
176
|
This plugin is loaded with its default configuration.
|
|
177
177
|
|
|
178
|
-
### [`postcss-discard-unused`](https://github.com/cssnano/cssnano/tree/
|
|
178
|
+
### [`postcss-discard-unused`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-discard-unused)
|
|
179
179
|
|
|
180
180
|
> Discard unused counter styles, keyframes and fonts.
|
|
181
181
|
|
|
182
182
|
This plugin is loaded with its default configuration.
|
|
183
183
|
|
|
184
|
-
### [`postcss-merge-idents`](https://github.com/cssnano/cssnano/tree/
|
|
184
|
+
### [`postcss-merge-idents`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-merge-idents)
|
|
185
185
|
|
|
186
186
|
> Merge keyframe and counter style identifiers.
|
|
187
187
|
|
|
188
188
|
This plugin is loaded with its default configuration.
|
|
189
189
|
|
|
190
|
-
### [`postcss-merge-longhand`](https://github.com/cssnano/cssnano/tree/
|
|
190
|
+
### [`postcss-merge-longhand`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-merge-longhand)
|
|
191
191
|
|
|
192
192
|
> Merge longhand properties into shorthand with PostCSS.
|
|
193
193
|
|
|
194
194
|
This plugin is loaded with its default configuration.
|
|
195
195
|
|
|
196
|
-
### [`postcss-merge-rules`](https://github.com/cssnano/cssnano/tree/
|
|
196
|
+
### [`postcss-merge-rules`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-merge-rules)
|
|
197
197
|
|
|
198
198
|
> Merge CSS rules with PostCSS.
|
|
199
199
|
|
|
200
200
|
This plugin is loaded with its default configuration.
|
|
201
201
|
|
|
202
|
-
### [`postcss-minify-font-values`](https://github.com/cssnano/cssnano/tree/
|
|
202
|
+
### [`postcss-minify-font-values`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-minify-font-values)
|
|
203
203
|
|
|
204
204
|
> Minify font declarations with PostCSS
|
|
205
205
|
|
|
206
206
|
This plugin is loaded with its default configuration.
|
|
207
207
|
|
|
208
|
-
### [`postcss-minify-gradients`](https://github.com/cssnano/cssnano/tree/
|
|
208
|
+
### [`postcss-minify-gradients`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-minify-gradients)
|
|
209
209
|
|
|
210
210
|
> Minify gradient parameters with PostCSS.
|
|
211
211
|
|
|
212
212
|
This plugin is loaded with its default configuration.
|
|
213
213
|
|
|
214
|
-
### [`postcss-minify-params`](https://github.com/cssnano/cssnano/tree/
|
|
214
|
+
### [`postcss-minify-params`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-minify-params)
|
|
215
215
|
|
|
216
216
|
> Minify at-rule params with PostCSS
|
|
217
217
|
|
|
218
218
|
This plugin is loaded with its default configuration.
|
|
219
219
|
|
|
220
|
-
### [`postcss-minify-selectors`](https://github.com/cssnano/cssnano/tree/
|
|
220
|
+
### [`postcss-minify-selectors`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-minify-selectors)
|
|
221
221
|
|
|
222
222
|
> Minify selectors with PostCSS.
|
|
223
223
|
|
|
224
224
|
This plugin is loaded with its default configuration.
|
|
225
225
|
|
|
226
|
-
### [`postcss-normalize-charset`](https://github.com/cssnano/cssnano/tree/
|
|
226
|
+
### [`postcss-normalize-charset`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-charset)
|
|
227
227
|
|
|
228
228
|
> Add necessary or remove extra charset with PostCSS
|
|
229
229
|
|
|
@@ -235,79 +235,79 @@ This plugin is loaded with the following configuration:
|
|
|
235
235
|
}
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
### [`postcss-normalize-display-values`](https://github.com/cssnano/cssnano/tree/
|
|
238
|
+
### [`postcss-normalize-display-values`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-display-values)
|
|
239
239
|
|
|
240
240
|
> Normalize multiple value display syntaxes into single values.
|
|
241
241
|
|
|
242
242
|
This plugin is loaded with its default configuration.
|
|
243
243
|
|
|
244
|
-
### [`postcss-normalize-positions`](https://github.com/cssnano/cssnano/tree/
|
|
244
|
+
### [`postcss-normalize-positions`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-positions)
|
|
245
245
|
|
|
246
246
|
> Normalize keyword values for position into length values.
|
|
247
247
|
|
|
248
248
|
This plugin is loaded with its default configuration.
|
|
249
249
|
|
|
250
|
-
### [`postcss-normalize-repeat-style`](https://github.com/cssnano/cssnano/tree/
|
|
250
|
+
### [`postcss-normalize-repeat-style`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-repeat-style)
|
|
251
251
|
|
|
252
252
|
> Convert two value syntax for repeat-style into one value.
|
|
253
253
|
|
|
254
254
|
This plugin is loaded with its default configuration.
|
|
255
255
|
|
|
256
|
-
### [`postcss-normalize-string`](https://github.com/cssnano/cssnano/tree/
|
|
256
|
+
### [`postcss-normalize-string`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-string)
|
|
257
257
|
|
|
258
258
|
> Normalize wrapping quotes for CSS string literals.
|
|
259
259
|
|
|
260
260
|
This plugin is loaded with its default configuration.
|
|
261
261
|
|
|
262
|
-
### [`postcss-normalize-timing-functions`](https://github.com/cssnano/cssnano/tree/
|
|
262
|
+
### [`postcss-normalize-timing-functions`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-timing-functions)
|
|
263
263
|
|
|
264
264
|
> Normalize CSS animation/transition timing functions.
|
|
265
265
|
|
|
266
266
|
This plugin is loaded with its default configuration.
|
|
267
267
|
|
|
268
|
-
### [`postcss-normalize-unicode`](https://github.com/cssnano/cssnano/tree/
|
|
268
|
+
### [`postcss-normalize-unicode`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-unicode)
|
|
269
269
|
|
|
270
270
|
> Normalize unicode-range descriptors, and can convert to wildcard ranges.
|
|
271
271
|
|
|
272
272
|
This plugin is loaded with its default configuration.
|
|
273
273
|
|
|
274
|
-
### [`postcss-normalize-url`](https://github.com/cssnano/cssnano/tree/
|
|
274
|
+
### [`postcss-normalize-url`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-url)
|
|
275
275
|
|
|
276
276
|
> Normalize URLs with PostCSS
|
|
277
277
|
|
|
278
278
|
This plugin is loaded with its default configuration.
|
|
279
279
|
|
|
280
|
-
### [`postcss-normalize-whitespace`](https://github.com/cssnano/cssnano/tree/
|
|
280
|
+
### [`postcss-normalize-whitespace`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-normalize-whitespace)
|
|
281
281
|
|
|
282
282
|
> Trim whitespace inside and around CSS rules & declarations.
|
|
283
283
|
|
|
284
284
|
This plugin is loaded with its default configuration.
|
|
285
285
|
|
|
286
|
-
### [`postcss-ordered-values`](https://github.com/cssnano/cssnano/tree/
|
|
286
|
+
### [`postcss-ordered-values`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-ordered-values)
|
|
287
287
|
|
|
288
288
|
> Ensure values are ordered consistently in your CSS.
|
|
289
289
|
|
|
290
290
|
This plugin is loaded with its default configuration.
|
|
291
291
|
|
|
292
|
-
### [`postcss-reduce-idents`](https://github.com/cssnano/cssnano/tree/
|
|
292
|
+
### [`postcss-reduce-idents`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-reduce-idents)
|
|
293
293
|
|
|
294
294
|
> Reduce custom identifiers with PostCSS.
|
|
295
295
|
|
|
296
296
|
This plugin is loaded with its default configuration.
|
|
297
297
|
|
|
298
|
-
### [`postcss-reduce-initial`](https://github.com/cssnano/cssnano/tree/
|
|
298
|
+
### [`postcss-reduce-initial`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-reduce-initial)
|
|
299
299
|
|
|
300
300
|
> Reduce initial definitions to the actual initial value, where possible.
|
|
301
301
|
|
|
302
302
|
This plugin is loaded with its default configuration.
|
|
303
303
|
|
|
304
|
-
### [`postcss-reduce-transforms`](https://github.com/cssnano/cssnano/tree/
|
|
304
|
+
### [`postcss-reduce-transforms`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-reduce-transforms)
|
|
305
305
|
|
|
306
306
|
> Reduce transform functions with PostCSS.
|
|
307
307
|
|
|
308
308
|
This plugin is loaded with its default configuration.
|
|
309
309
|
|
|
310
|
-
### [`postcss-svgo`](https://github.com/cssnano/cssnano/tree/
|
|
310
|
+
### [`postcss-svgo`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-svgo)
|
|
311
311
|
|
|
312
312
|
> Optimise inline SVG with PostCSS.
|
|
313
313
|
|
|
@@ -328,13 +328,13 @@ This plugin is loaded with the following configuration:
|
|
|
328
328
|
}
|
|
329
329
|
```
|
|
330
330
|
|
|
331
|
-
### [`postcss-unique-selectors`](https://github.com/cssnano/cssnano/tree/
|
|
331
|
+
### [`postcss-unique-selectors`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-unique-selectors)
|
|
332
332
|
|
|
333
333
|
> Ensure CSS selectors are unique.
|
|
334
334
|
|
|
335
335
|
This plugin is loaded with its default configuration.
|
|
336
336
|
|
|
337
|
-
### [`postcss-zindex`](https://github.com/cssnano/cssnano/tree/
|
|
337
|
+
### [`postcss-zindex`](https://github.com/cssnano/cssnano/tree/main/packages/postcss-zindex)
|
|
338
338
|
|
|
339
339
|
> Reduce z-index values with PostCSS.
|
|
340
340
|
|
|
@@ -342,7 +342,7 @@ This plugin is loaded with its default configuration.
|
|
|
342
342
|
|
|
343
343
|
## Contributors
|
|
344
344
|
|
|
345
|
-
See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/
|
|
345
|
+
See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/main/CONTRIBUTORS.md).
|
|
346
346
|
|
|
347
347
|
## License
|
|
348
348
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cssnano-preset-advanced",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.2",
|
|
4
4
|
"description": "Advanced optimisations for cssnano; may or may not break your CSS!",
|
|
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",
|
|
@@ -17,11 +20,11 @@
|
|
|
17
20
|
"dependencies": {
|
|
18
21
|
"autoprefixer": "^10.5.4",
|
|
19
22
|
"css-declaration-sorter": "^7.4.0",
|
|
20
|
-
"cssnano-preset-default": "^9.0.
|
|
21
|
-
"postcss-discard-unused": "^9.0.
|
|
22
|
-
"postcss-merge-idents": "^9.0.
|
|
23
|
-
"postcss-reduce-idents": "^9.0.
|
|
24
|
-
"postcss-zindex": "^9.0.
|
|
23
|
+
"cssnano-preset-default": "^9.0.2",
|
|
24
|
+
"postcss-discard-unused": "^9.0.1",
|
|
25
|
+
"postcss-merge-idents": "^9.0.1",
|
|
26
|
+
"postcss-reduce-idents": "^9.0.1",
|
|
27
|
+
"postcss-zindex": "^9.0.1"
|
|
25
28
|
},
|
|
26
29
|
"author": {
|
|
27
30
|
"name": "Ben Briggs",
|