@best-shot/dev-server 0.13.0 → 0.13.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.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -14,7 +14,7 @@ DevServer support of `@best-shot/cli`.
14
14
 
15
15
  ## Features
16
16
 
17
- - All Features of webpack-dev-server@4
17
+ - All Features of [webpack-dev-server@4](https://webpack.js.org/configuration/dev-server/)
18
18
  - Hook `historyApiFallback` into `devMiddleware.publicPath`
19
19
  - Show a wait page when bundling
20
20
  - Provide a 404 page
@@ -44,6 +44,13 @@ export default {
44
44
  };
45
45
  ```
46
46
 
47
+ ## Tips
48
+
49
+ ### Difference with webpack-dev-server
50
+
51
+ - `options.static` is `false` by default.
52
+ - `options.hot` is `only` by default.
53
+
47
54
  ## Related
48
55
 
49
56
  - [@best-shot/cli](../cli)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@best-shot/dev-server",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "DevServer support of `@best-shot/cli`",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -31,18 +31,18 @@
31
31
  },
32
32
  "main": "index.mjs",
33
33
  "dependencies": {
34
- "@best-shot/config": "^0.2.0",
34
+ "@best-shot/config": "^0.2.4",
35
35
  "chalk": "^4.1.2",
36
36
  "connect-history-api-fallback": "^1.6.0",
37
37
  "ejs": "^3.1.6",
38
- "express": "^4.17.1",
38
+ "express": "^4.17.2",
39
39
  "launch-editor-middleware": "^2.2.1",
40
40
  "lodash": "^4.17.21",
41
41
  "webpack-dev-server": "^4.6.0",
42
42
  "webpack-dev-server-waitpage": "^2.1.1"
43
43
  },
44
44
  "peerDependencies": {
45
- "@best-shot/cli": "^0.12.0"
45
+ "@best-shot/cli": "^0.12.2"
46
46
  },
47
47
  "engines": {
48
48
  "node": "^14.17.0 || >=16.13.0"