Skip to content

Commit bd6b53b

Browse files
authored
content: Update minify config documentation
1 parent 21bb0bb commit bd6b53b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎content/en/configuration/minify.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ This is the default configuration:
1010

1111
{{< code-toggle config=minify />}}
1212

13-
See the [tdewolff/minify] project page for details.
13+
See the [tdewolff/minify] project page for details, but note the following:
14+
15+
- `css.inline` is for internal use. Changing this setting has no effect.
16+
- `css.keepCSS2` has been deprecated. Use `css.version` instead.
17+
- `html.keepConditionalComments` has been deprecated. Use `html.keepSpecialComments` instead.
18+
- `svg.inline` is for internal use. Changing this setting has no effect.
1419

1520
[tdewolff/minify]: https://github.com/tdewolff/minify

‎data/docs.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,8 +1490,9 @@ config:
14901490
tdewolff:
14911491
css:
14921492
inline: false
1493-
keepCSS2: true
1493+
keepCSS2: false
14941494
precision: 0
1495+
version: 0
14951496
html:
14961497
keepComments: false
14971498
keepConditionalComments: false

0 commit comments

Comments
 (0)