@docusaurus/cssnano-preset 3.9.1 → 3.9.2-canary-6429

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/lib/index.js CHANGED
@@ -13,6 +13,9 @@ const preset = function preset(opts) {
13
13
  const advancedPreset = (0, cssnano_preset_advanced_1.default)({
14
14
  autoprefixer: { add: false },
15
15
  discardComments: { removeAll: true },
16
+ // See CodeBlock custom line number bug: https://github.com/facebook/docusaurus/pull/11487
17
+ /* cSpell:ignore Idents */
18
+ reduceIdents: { counter: false },
16
19
  /* cSpell:ignore zindex */
17
20
  zindex: false,
18
21
  ...opts,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/cssnano-preset",
3
- "version": "3.9.1",
3
+ "version": "3.9.2-canary-6429",
4
4
  "description": "Advanced cssnano preset for maximum optimization.",
5
5
  "main": "lib/index.js",
6
6
  "license": "MIT",
@@ -28,5 +28,5 @@
28
28
  "engines": {
29
29
  "node": ">=20.0"
30
30
  },
31
- "gitHead": "c0dd59f0e712f85b6053c59e46b0514b5d2d1414"
31
+ "gitHead": "efa8f99b80e6f158499d9ba5c69c64005a3619f1"
32
32
  }
package/src/index.ts CHANGED
@@ -13,6 +13,9 @@ const preset: typeof advancedBasePreset = function preset(opts) {
13
13
  const advancedPreset = advancedBasePreset({
14
14
  autoprefixer: {add: false},
15
15
  discardComments: {removeAll: true},
16
+ // See CodeBlock custom line number bug: https://github.com/facebook/docusaurus/pull/11487
17
+ /* cSpell:ignore Idents */
18
+ reduceIdents: {counter: false},
16
19
  /* cSpell:ignore zindex */
17
20
  zindex: false,
18
21
  ...opts,