Patch Changes
-
Point
@lynx-js/source-fieldatsrc/index.ts, so a bundler in this repo can (#3404)
resolve the package without waiting for itsdist/.@lynx-js/css-serializerhas nobuildscript - itsdist/is emitted by the
repository's roottsc --build, which is a separate turbo task with no ordering
relationship to any package'sbuild. That was invisible while every consumer
was itself type-checked rather than bundled, but@lynx-js/web-corebundles its
client with rspack, and rspack resolvingmain: dist/index.jsbefore the root
build has emitted it fails outright.@rsbuild/plugin-source-buildis already how this repository answers that -
@lynx-js/web-elementsand@lynx-js/web-worker-rpcdeclare the same field and
are consumed straight from source. Declaring it here removes the ordering
question rather than scheduling around it.The field is inert outside such a build: it is a plain, unknown top-level
package.jsonkey, so noexportsmap is introduced and no existing entry point
or deep import changes.