@docusaurus/core 0.0.0-4315 → 0.0.0-4316
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/commands/start.js +3 -2
- package/package.json +11 -11
package/lib/commands/start.js
CHANGED
|
@@ -179,11 +179,12 @@ async function start(siteDir, cliOptions) {
|
|
|
179
179
|
allowedHosts: 'all',
|
|
180
180
|
host,
|
|
181
181
|
port,
|
|
182
|
-
|
|
182
|
+
setupMiddlewares: (middlewares, devServer) => {
|
|
183
183
|
// This lets us fetch source contents from webpack for the error overlay.
|
|
184
|
-
|
|
184
|
+
middlewares.unshift((0, evalSourceMapMiddleware_1.default)(
|
|
185
185
|
// @ts-expect-error: bad types
|
|
186
186
|
devServer));
|
|
187
|
+
return middlewares;
|
|
187
188
|
},
|
|
188
189
|
};
|
|
189
190
|
// Allow plugin authors to customize/override devServer config
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/core",
|
|
3
3
|
"description": "Easy to Maintain Open Source Documentation Websites",
|
|
4
|
-
"version": "0.0.0-
|
|
4
|
+
"version": "0.0.0-4316",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@babel/runtime": "^7.16.3",
|
|
42
42
|
"@babel/runtime-corejs3": "^7.16.3",
|
|
43
43
|
"@babel/traverse": "^7.16.3",
|
|
44
|
-
"@docusaurus/cssnano-preset": "0.0.0-
|
|
45
|
-
"@docusaurus/logger": "0.0.0-
|
|
46
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
44
|
+
"@docusaurus/cssnano-preset": "0.0.0-4316",
|
|
45
|
+
"@docusaurus/logger": "0.0.0-4316",
|
|
46
|
+
"@docusaurus/mdx-loader": "0.0.0-4316",
|
|
47
47
|
"@docusaurus/react-loadable": "5.5.2",
|
|
48
|
-
"@docusaurus/utils": "0.0.0-
|
|
49
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
50
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
48
|
+
"@docusaurus/utils": "0.0.0-4316",
|
|
49
|
+
"@docusaurus/utils-common": "0.0.0-4316",
|
|
50
|
+
"@docusaurus/utils-validation": "0.0.0-4316",
|
|
51
51
|
"@slorber/static-site-generator-webpack-plugin": "^4.0.0",
|
|
52
52
|
"@svgr/webpack": "^6.0.0",
|
|
53
53
|
"autoprefixer": "^10.3.5",
|
|
@@ -103,13 +103,13 @@
|
|
|
103
103
|
"wait-on": "^6.0.0",
|
|
104
104
|
"webpack": "^5.61.0",
|
|
105
105
|
"webpack-bundle-analyzer": "^4.4.2",
|
|
106
|
-
"webpack-dev-server": "^4.
|
|
106
|
+
"webpack-dev-server": "^4.7.1",
|
|
107
107
|
"webpack-merge": "^5.8.0",
|
|
108
108
|
"webpackbar": "^5.0.0-3"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
112
|
-
"@docusaurus/types": "0.0.0-
|
|
111
|
+
"@docusaurus/module-type-aliases": "0.0.0-4316",
|
|
112
|
+
"@docusaurus/types": "0.0.0-4316",
|
|
113
113
|
"@types/copy-webpack-plugin": "^8.0.1",
|
|
114
114
|
"@types/css-minimizer-webpack-plugin": "^3.0.2",
|
|
115
115
|
"@types/detect-port": "^1.3.0",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"engines": {
|
|
129
129
|
"node": ">=14"
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "aa0a4c131c618f3d0c5217edf9ed990b314bf5a8"
|
|
132
132
|
}
|