Commit Graph

3 Commits

Author SHA1 Message Date
Gabriel Grubba
ce179fa55c chore(modules.fallback): all goes to varifyErrors 2022-08-18 22:13:55 -03:00
Gabriel Grubba
2c2038978d feat(module-errors): created custom errors for modules 2022-08-18 15:37:37 -03:00
Ben Newman
bd9043db20 Prefer "main" field of package.json over "module" in legacy bundle.
https://github.com/meteor/meteor/issues/10658#issuecomment-550456095
https://github.com/meteor/meteor/issues/10658#issuecomment-551870115

As usual, changes to module resolution logic need to happen in parallel in
tools/isobuild/resolver.ts and in packages/modules-runtime. However,
thanks to the modern/legacy system, it's easy to make the modules-runtime
package behave exactly the way(s) we want in the server, modern client,
and legacy client bundles.
2019-11-08 11:15:23 -05:00