How to test legacy version performance during development

Currently, it seems that legacy JavaScript files only load in older browsers when using modern: false and running meteor run --production . However, the JavaScript files are minified and obfuscated in this mode, making debugging difficult.

Is there a way to build the legacy version with meteor run during normal development, so we can properly test and debug the legacy version behavior?

You don’t need to disable modern entirely. You can just disable modern webArchs.

"meteor": {
  "modern": {
    "webArchOnly": false
  }
}

I assume after doing this you should be able to test similarly with meteor run as done with the Meteor bundler. To trigger the legacy builder you should probably use a legacy browser context for it to properly get loaded.