@meteorjs/rspack 0.0.44 → 0.0.45
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 +2 -2
package/package.json
CHANGED
package/rspack.config.js
CHANGED
|
@@ -217,7 +217,7 @@ export default function (inMeteor = {}, argv = {}) {
|
|
|
217
217
|
console.log('[i] Meteor flags:', Meteor);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
const enableSwcExternalHelpers =
|
|
220
|
+
const enableSwcExternalHelpers = !!swcExternalHelpers;
|
|
221
221
|
const isDevEnvironment = isRun && isDev && !isTest && !isNative;
|
|
222
222
|
const swcConfigRule = createSwcConfig({
|
|
223
223
|
isTypescriptEnabled,
|
|
@@ -272,7 +272,7 @@ export default function (inMeteor = {}, argv = {}) {
|
|
|
272
272
|
const doctorPluginConfig = isBundleVisualizerEnabled && rsdoctorModule?.RsdoctorRspackPlugin
|
|
273
273
|
? [
|
|
274
274
|
new rsdoctorModule.RsdoctorRspackPlugin({
|
|
275
|
-
port: isClient
|
|
275
|
+
port: isClient
|
|
276
276
|
? (parseInt(Meteor.rsdoctorClientPort || '8888', 10))
|
|
277
277
|
: (parseInt(Meteor.rsdoctorServerPort || '8889', 10)),
|
|
278
278
|
}),
|