@best-shot/dev-server 0.20.0 → 0.20.1
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/server.mjs +3 -3
- package/package.json +5 -5
package/lib/server.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import express from 'express';
|
|
2
2
|
import launchMiddleware from 'launch-editor-middleware';
|
|
3
|
-
// eslint-disable-next-line import/
|
|
4
|
-
import
|
|
3
|
+
// eslint-disable-next-line import/default
|
|
4
|
+
import WebpackDevServer from 'webpack-dev-server';
|
|
5
5
|
|
|
6
6
|
import { notFound } from '../middleware/not-found/index.mjs';
|
|
7
7
|
import { staticFile } from '../middleware/static-file/index.mjs';
|
|
8
8
|
import * as waitPage from '../middleware/wait-page/index.mjs';
|
|
9
9
|
|
|
10
|
-
export class DevServer extends WebpackDevServer
|
|
10
|
+
export class DevServer extends WebpackDevServer {
|
|
11
11
|
constructor(options, compiler) {
|
|
12
12
|
waitPage.apply(compiler);
|
|
13
13
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@best-shot/dev-server",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "DevServer support of `@best-shot/cli`",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"chalk": "^5.4.1",
|
|
36
36
|
"ejs": "^3.1.10",
|
|
37
37
|
"express": "^4.21.2",
|
|
38
|
-
"launch-editor-middleware": "^2.
|
|
38
|
+
"launch-editor-middleware": "^2.10.0",
|
|
39
39
|
"webpack-dev-server": "~5.2.0",
|
|
40
40
|
"webpack-dev-server-waitpage": "^3.0.0",
|
|
41
|
-
"@best-shot/config": "~0.8.
|
|
41
|
+
"@best-shot/config": "~0.8.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@best-shot/cli": "~0.18.
|
|
44
|
+
"@best-shot/cli": "~0.18.2"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
|
-
"node": ">=22.11.0 || ^20.
|
|
47
|
+
"node": ">=22.11.0 || ^20.18.0"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public",
|