@rspress/core 1.45.7 → 1.46.0

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/dist/index.js +7 -2
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -1317,7 +1317,12 @@ async function createInternalBuildConfig(userDocRoot, config, enableSSG, routeSe
1317
1317
  'process.env.__REACT_GTE_18__': JSON.stringify(reactVersion >= 18),
1318
1318
  'process.env.TEST': JSON.stringify(process.env.TEST),
1319
1319
  'process.env.RSPRESS_SOCIAL_ICONS': JSON.stringify(getSocialIcons(null == (_config_themeConfig1 = config.themeConfig) ? void 0 : _config_themeConfig1.socialLinks))
1320
- }
1320
+ },
1321
+ preEntry: [
1322
+ __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].join(DEFAULT_THEME, '../bundle.css'),
1323
+ 'virtual-global-styles',
1324
+ '@theme'
1325
+ ]
1321
1326
  },
1322
1327
  performance: {
1323
1328
  chunkSplit: {
@@ -1549,7 +1554,7 @@ async function dev(options) {
1549
1554
  }
1550
1555
  }
1551
1556
  var package_namespaceObject = {
1552
- i8: "1.45.7"
1557
+ i8: "1.46.0"
1553
1558
  };
1554
1559
  async function renderFrontmatterHead(route) {
1555
1560
  if (!isRouteMeta(route)) return '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/core",
3
- "version": "1.45.7",
3
+ "version": "1.46.0",
4
4
  "description": "The Rspress Documentation Framework",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -73,16 +73,16 @@
73
73
  "unified": "^10.1.2",
74
74
  "unist-util-visit": "^4.1.2",
75
75
  "unist-util-visit-children": "^2.0.2",
76
- "@rspress/plugin-auto-nav-sidebar": "1.45.7",
77
- "@rspress/plugin-container-syntax": "1.45.7",
78
- "@rspress/plugin-last-updated": "1.45.7",
79
- "@rspress/plugin-medium-zoom": "1.45.7",
80
- "@rspress/runtime": "1.45.7",
81
- "@rspress/shared": "1.45.7",
82
- "@rspress/theme-default": "1.45.7"
76
+ "@rspress/plugin-container-syntax": "1.46.0",
77
+ "@rspress/plugin-last-updated": "1.46.0",
78
+ "@rspress/plugin-auto-nav-sidebar": "1.46.0",
79
+ "@rspress/plugin-medium-zoom": "1.46.0",
80
+ "@rspress/theme-default": "1.46.0",
81
+ "@rspress/runtime": "1.46.0",
82
+ "@rspress/shared": "1.46.0"
83
83
  },
84
84
  "devDependencies": {
85
- "@microsoft/api-extractor": "^7.49.2",
85
+ "@microsoft/api-extractor": "^7.53.1",
86
86
  "@rslib/core": "~0.6.9",
87
87
  "@rspress-dev/plugin-preview": "link:../plugin-preview",
88
88
  "@types/hast": "^2.3.10",