cssnano-preset-advanced 7.0.1 → 7.0.3
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 +16 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -315,7 +315,22 @@ This plugin is loaded with its default configuration.
|
|
|
315
315
|
|
|
316
316
|
> Optimise inline SVG with PostCSS.
|
|
317
317
|
|
|
318
|
-
This plugin is loaded with
|
|
318
|
+
This plugin is loaded with the following configuration:
|
|
319
|
+
|
|
320
|
+
```js
|
|
321
|
+
{
|
|
322
|
+
plugins: [
|
|
323
|
+
{
|
|
324
|
+
name: 'preset-default',
|
|
325
|
+
params: {
|
|
326
|
+
overrides: {
|
|
327
|
+
removeViewBox: false,
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
}
|
|
333
|
+
```
|
|
319
334
|
|
|
320
335
|
### [`postcss-unique-selectors`](https://github.com/cssnano/cssnano/tree/master/packages/postcss-unique-selectors)
|
|
321
336
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cssnano-preset-advanced",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"types": "types/index.d.ts",
|
|
6
6
|
"description": "Advanced optimisations for cssnano; may or may not break your CSS!",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"autoprefixer": "^10.4.19",
|
|
15
|
-
"browserslist": "^4.23.
|
|
16
|
-
"cssnano-preset-default": "^7.0.
|
|
17
|
-
"postcss-discard-unused": "^7.0.
|
|
15
|
+
"browserslist": "^4.23.1",
|
|
16
|
+
"cssnano-preset-default": "^7.0.3",
|
|
17
|
+
"postcss-discard-unused": "^7.0.1",
|
|
18
18
|
"postcss-merge-idents": "^7.0.0",
|
|
19
|
-
"postcss-
|
|
20
|
-
"postcss-
|
|
19
|
+
"postcss-reduce-idents": "^7.0.0",
|
|
20
|
+
"postcss-zindex": "^7.0.0"
|
|
21
21
|
},
|
|
22
22
|
"author": {
|
|
23
23
|
"name": "Ben Briggs",
|