@esmx/rspack 3.0.0-rc.22 → 3.0.0-rc.24

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/dist/config.mjs CHANGED
@@ -120,7 +120,7 @@ function createModuleLinkPlugin(esmx, buildTarget) {
120
120
  const preEntries = [];
121
121
  if (buildTarget === "client" && !esmx.isProd) {
122
122
  preEntries.push(
123
- `webpack-hot-middleware/client?path=/${esmx.name}/hot-middleware`
123
+ `${import.meta.resolve("webpack-hot-middleware/client.js")}?path=/${esmx.name}/hot-middleware`
124
124
  );
125
125
  }
126
126
  return moduleLinkPlugin({
package/package.json CHANGED
@@ -63,10 +63,10 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@esmx/import": "3.0.0-rc.22",
67
- "@esmx/rspack-module-link-plugin": "3.0.0-rc.22",
66
+ "@esmx/import": "3.0.0-rc.24",
67
+ "@esmx/rspack-module-link-plugin": "3.0.0-rc.24",
68
68
  "@npmcli/arborist": "^9.0.1",
69
- "@rspack/core": "1.4.1",
69
+ "@rspack/core": "1.4.2",
70
70
  "css-loader": "^7.1.2",
71
71
  "less-loader": "^12.2.0",
72
72
  "node-polyfill-webpack-plugin": "^4.1.0",
@@ -79,8 +79,8 @@
79
79
  },
80
80
  "devDependencies": {
81
81
  "@biomejs/biome": "1.9.4",
82
- "@esmx/core": "3.0.0-rc.22",
83
- "@esmx/lint": "3.0.0-rc.22",
82
+ "@esmx/core": "3.0.0-rc.24",
83
+ "@esmx/lint": "3.0.0-rc.24",
84
84
  "@types/node": "22.15.18",
85
85
  "@types/npmcli__arborist": "^6.3.1",
86
86
  "@types/pacote": "^11.1.8",
@@ -92,7 +92,7 @@
92
92
  "unbuild": "3.5.0",
93
93
  "vitest": "3.1.3"
94
94
  },
95
- "version": "3.0.0-rc.22",
95
+ "version": "3.0.0-rc.24",
96
96
  "type": "module",
97
97
  "private": false,
98
98
  "exports": {
@@ -111,5 +111,5 @@
111
111
  "template",
112
112
  "public"
113
113
  ],
114
- "gitHead": "a92281dc6cd6ba843dfe54f04e18593c0aa76170"
114
+ "gitHead": "ef6208ea42a7105ca056ca9cd3c364d989c4d97d"
115
115
  }
package/src/config.ts CHANGED
@@ -154,7 +154,7 @@ function createModuleLinkPlugin(esmx: Esmx, buildTarget: BuildTarget): Plugin {
154
154
  const preEntries: string[] = [];
155
155
  if (buildTarget === 'client' && !esmx.isProd) {
156
156
  preEntries.push(
157
- `webpack-hot-middleware/client?path=/${esmx.name}/hot-middleware`
157
+ `${import.meta.resolve('webpack-hot-middleware/client.js')}?path=/${esmx.name}/hot-middleware`
158
158
  );
159
159
  }
160
160