@rspack/dev-server 0.5.9 → 0.6.0-canary-77faf73-20240410004447

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/server.js +1 -1
  2. package/package.json +4 -4
package/dist/server.js CHANGED
@@ -179,7 +179,7 @@ class RspackDevServer extends webpack_dev_server_1.default {
179
179
  if (req.url.indexOf("/lazy-compilation-web/") > -1) {
180
180
  const path = req.url.replace("/lazy-compilation-web/", "");
181
181
  if (fs_1.default.existsSync(path)) {
182
- compiler.rebuild(new Set([path]), new Set(), error => {
182
+ compiler.__internal__rebuild(new Set([path]), new Set(), error => {
183
183
  if (error) {
184
184
  throw error;
185
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/dev-server",
3
- "version": "0.5.9",
3
+ "version": "0.6.0-canary-77faf73-20240410004447",
4
4
  "license": "MIT",
5
5
  "description": "Development server for rspack",
6
6
  "main": "./dist/index.js",
@@ -29,9 +29,9 @@
29
29
  "@types/express": "4.17.21",
30
30
  "@types/mime-types": "2.1.4",
31
31
  "@types/ws": "8.5.10",
32
- "@rspack/core": "0.5.9",
33
- "@rspack/plugin-react-refresh": "0.5.9",
34
- "@rspack/dev-server": "0.5.9"
32
+ "@rspack/dev-server": "0.6.0-canary-77faf73-20240410004447",
33
+ "@rspack/core": "0.6.0-canary-77faf73-20240410004447",
34
+ "@rspack/plugin-react-refresh": "0.6.0-canary-77faf73-20240410004447"
35
35
  },
36
36
  "dependencies": {
37
37
  "chokidar": "3.5.3",