[Meteor 3.4.beta] #default#VML package issue

Hi,

I have the following error when running meteor 3.4.beta. It seems that it has no impact.
I am not able to reproduce it yet.

Unable to resolve some modules:

  "#default#VML" in /home/project/_build/main-prod/client-meteor.js (web.browser)
                                              
If you notice problems related to these missing modules, consider running:
                                              
  meteor npm install --save #default#VML
/**
* @file client-meteor.js
* @description Meteor runtime file that imports the Rspack bundle
* --------------------------------------------------------------------------
* ☄️ Meteor Client App (Development)
* --------------------------------------------------------------------------
* • [   client-entry.js ] ──▶ [   client-rspack.js ] ──▶ [■ client-meteor.js ]
*
* This file overrides the corresponding `meteor.mainModule.client` entry in
* package.json. Meteor loads it at runtime, and it imports the Rspack
* bundle (`client-rspack.js`) so the application executes using the build
* produced by Rspack.
*
* ⚠️ Note: This file is autogenerated. It is not meant to be modified manually.
* These files also act as a cache: they can be safely removed and will be
* regenerated on the next build. They should be ignored in IDE suggestions
* and version control.
*/

/* No link to ⚡ Rspack Client App as served by HMR server */

/* Polyfill globalThis.module & exports */
if (typeof globalThis.module === 'undefined') {
  globalThis.module = { exports: {} };
}
if (typeof globalThis.exports === 'undefined') {
  globalThis.exports = globalThis.module.exports;
}

function lazyExternalImports1() {
  require('meteor/meteor');
  require('meteor/mizzao:timesync');
  require('meteor-accounts-t9n');
  require('meteor-accounts-t9n/build/en');
  require('meteor-accounts-t9n/build/fr');
  require('meteor/aldeed:simple-schema');
  require('meteor/jam:method');
  require('meteor/mdg:validated-method');
  require('meteor/tracker');
  require('meteor/roles');
  require('meteor/jam:offline');
  require('meteor/jam:soft-delete');
  require('meteor/jam:pub-sub');
  require('meteor/mongo');
  require('meteor/mongo-id');
  require('meteor/random');
  require('meteor/quave:reloader');
  require('#default#VML');
}

Do you have an alias or a custom resolver using #default#VML in your project?

No i don’t have.

Thanks.

When you have a reproduction repository, please facilitate it to me. :pray:

Perhaps to help. How do you contruct lazyExternalImports1() function ?

That’s an internal Rspack plugin in the @meteorjs/rspack package. It handles the base and default config, along the required population of .

You should be able to reproduce it locally. If it only happens in your project, it’s likely due to a specific setup. If you can share the repo with me privately, I can debug it to see what’s causing it, or try to isolate it in a minimal repo.

Here the minimal repo.

removing import 'leaflet/dist/leaflet.css' from App.vue will remove the error. Put it back, you will have the error.