@meteorjs/rspack 0.0.40 → 0.0.41

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/package.json +1 -1
  2. package/rspack.config.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorjs/rspack",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "Configuration logic for using Rspack in Meteor projects",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/rspack.config.js CHANGED
@@ -260,7 +260,9 @@ export default function (inMeteor = {}, argv = {}) {
260
260
  const doctorPluginConfig = isBundleVisualizerEnabled && rsdoctorModule?.RsdoctorRspackPlugin
261
261
  ? [
262
262
  new rsdoctorModule.RsdoctorRspackPlugin({
263
- port: isClient ? 8081 : 8082,
263
+ port: isClient
264
+ ? (Meteor.rsdoctorClientPort || 8888)
265
+ : (Meteor.rsdoctorServerPort || 8889),
264
266
  }),
265
267
  ]
266
268
  : [];