@meteorjs/rspack 0.0.39 → 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.
- package/package.json +1 -1
- package/rspack.config.js +4 -2
package/package.json
CHANGED
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
|
|
263
|
+
port: isClient
|
|
264
|
+
? (Meteor.rsdoctorClientPort || 8888)
|
|
265
|
+
: (Meteor.rsdoctorServerPort || 8889),
|
|
264
266
|
}),
|
|
265
267
|
]
|
|
266
268
|
: [];
|
|
@@ -280,7 +282,7 @@ export default function (inMeteor = {}, argv = {}) {
|
|
|
280
282
|
let clientConfig = {
|
|
281
283
|
name: clientNameConfig,
|
|
282
284
|
target: 'web',
|
|
283
|
-
mode
|
|
285
|
+
mode,
|
|
284
286
|
entry: path.resolve(process.cwd(), buildContext, entryPath),
|
|
285
287
|
output: {
|
|
286
288
|
path: clientOutputDir,
|