mirror of
https://github.com/wekan/wekan.git
synced 2026-11-17 00:45:55 -05:00
build.sh's source test mode (scripts/dev-source) stopped at startup with
"Cannot find module 'meteor/aldeed:collection2/main'". server/main.js loads
collection2's main module before the models (2699f4deea), and the source
runtime resolved only a bare meteor/<package>. It now maps
meteor/<package>/main to the same package exports, which image.load has
already run. tests/devSourceMainModule.test.cjs checks every such import in
the server entry resolves, and that other sub-paths are not taken for it.
Thanks to xet7 !