dumi-theme-lobehub 2.0.7 → 2.0.8
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.
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { StyleProvider, extractStaticStyle } from 'antd-style';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
global.__ANTD_CACHE__ = extractStaticStyle.cache;
|
|
7
5
|
var StyleRegistry = function StyleRegistry(_ref) {
|
|
8
6
|
var children = _ref.children;
|
|
9
7
|
return /*#__PURE__*/_jsx(StyleProvider, {
|
package/dist/plugin/index.js
CHANGED
|
@@ -59,8 +59,7 @@ var SSRPlugin = (api) => {
|
|
|
59
59
|
};
|
|
60
60
|
api.modifyExportHTMLFiles(
|
|
61
61
|
(files) => files.filter((f) => !f.path.includes(":")).map((file) => {
|
|
62
|
-
const
|
|
63
|
-
const styles = (0, import_antd_style.extractStaticStyle)(file.content, { antdCache });
|
|
62
|
+
const styles = (0, import_antd_style.extractStaticStyle)().map((item) => item.style);
|
|
64
63
|
for (const result of styles) {
|
|
65
64
|
api.logger.event(
|
|
66
65
|
`${import_chalk.default.yellow(file.path)} include ${import_chalk.default.blue`[${result.key}]`} ${import_chalk.default.yellow(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi-theme-lobehub",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|