@meteorjs/rspack 0.1.1 → 0.1.3

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 +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorjs/rspack",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Configuration logic for using Rspack in Meteor projects",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
package/rspack.config.js CHANGED
@@ -348,7 +348,7 @@ module.exports = async function (inMeteor = {}, argv = {}) {
348
348
  Meteor.swcConfigOptions = swcConfigRule.options;
349
349
 
350
350
  const externals = [
351
- /^meteor.*/,
351
+ /^meteor\/.*/,
352
352
  ...(isReactEnabled ? [/^react$/, /^react-dom$/] : []),
353
353
  ...(isServer ? [/^bcrypt$/] : []),
354
354
  ];
@@ -664,7 +664,6 @@ module.exports = async function (inMeteor = {}, argv = {}) {
664
664
  // Load and apply project-level overrides for the selected build
665
665
  // Check if we're in a Meteor package directory by looking at the path
666
666
  const isMeteorPackageConfig = projectDir.includes('/packages/rspack');
667
- console.log("--> (rspack.config.js-Line: 665)\n isMeteorPackageConfig: ", isMeteorPackageConfig);
668
667
  if (fs.existsSync(projectConfigPath) && !isMeteorPackageConfig) {
669
668
  // Check if there's a .mjs or .cjs version of the config file
670
669
  const mjsConfigPath = projectConfigPath.replace(/\.js$/, '.mjs');