@apify/docs-theme 1.0.100 → 1.0.101

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/package.json +2 -1
  2. package/src/theme.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.100",
3
+ "version": "1.0.101",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
@@ -25,6 +25,7 @@
25
25
  "axios": "^1.4.0",
26
26
  "babel-loader": "^9.1.3",
27
27
  "docusaurus-gtm-plugin": "^0.0.2",
28
+ "postcss-preset-env": "^9.3.0",
28
29
  "prism-react-renderer": "^2.0.6"
29
30
  },
30
31
  "peerDependencies": {
package/src/theme.js CHANGED
@@ -1,3 +1,4 @@
1
+ const postcssPreset = require('postcss-preset-env');
1
2
  const path = require('path');
2
3
  const fs = require('fs');
3
4
  const axios = require('axios');
@@ -125,6 +126,10 @@ This either means that your Docusaurus setup is misconfigured, or that your GitH
125
126
  },
126
127
  };
127
128
  },
129
+ configurePostCss(o) {
130
+ o.plugins.push(postcssPreset); // allow newest CSS syntax
131
+ return o;
132
+ },
128
133
  };
129
134
  }
130
135