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.
Files changed (2) hide show
  1. package/README.md +16 -1
  2. 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 its default configuration.
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.1",
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.0",
16
- "cssnano-preset-default": "^7.0.1",
17
- "postcss-discard-unused": "^7.0.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-zindex": "^7.0.0",
20
- "postcss-reduce-idents": "^7.0.0"
19
+ "postcss-reduce-idents": "^7.0.0",
20
+ "postcss-zindex": "^7.0.0"
21
21
  },
22
22
  "author": {
23
23
  "name": "Ben Briggs",