mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
fix(cssnano-preset): disable CSS counter minification
This commit is contained in:
parent
2a10b5453f
commit
7bc2489832
|
|
@ -13,6 +13,8 @@ const preset: typeof advancedBasePreset = function preset(opts) {
|
|||
const advancedPreset = advancedBasePreset({
|
||||
autoprefixer: {add: false},
|
||||
discardComments: {removeAll: true},
|
||||
/* cSpell:ignore Idents */
|
||||
reduceIdents: {counter: false},
|
||||
/* cSpell:ignore zindex */
|
||||
zindex: false,
|
||||
...opts,
|
||||
|
|
|
|||
|
|
@ -226,6 +226,13 @@ function PageLayout(props) {
|
|||
}
|
||||
```
|
||||
|
||||
```jsx showLineNumbers=4
|
||||
function PageLayout(props) {
|
||||
// highlight-next-line
|
||||
return <Layout title="Awesome Docusaurus page" description="Test Test Test Test Test Test Test Test Test Test Test Test Test Test ">;
|
||||
}
|
||||
```
|
||||
|
||||
```jsx {1,3,6} showLineNumbers
|
||||
function PageLayout(props) {
|
||||
console.log(
|
||||
|
|
|
|||
Loading…
Reference in New Issue