Skip to content

fix(arui-scripts): isolate wmf separate build runtime#513

Open
evK608 wants to merge 2 commits into
masterfrom
fix/wmf-separate-build-runtime
Open

fix(arui-scripts): isolate wmf separate build runtime#513
evK608 wants to merge 2 commits into
masterfrom
fix/wmf-separate-build-runtime

Conversation

@evK608
Copy link
Copy Markdown

@evK608 evK608 commented Jun 3, 2026

основной app bundle и remoteEntry.js использовали один rspackChunk... namespace. Из-за этого могли конфликтовать module Id между main/vendor и WMF chunks, что приводило к рантайм ошибкам вида:

image image

Как было у меня:

Экспортирую свой модуль с useSeparateBuild: true.
Использую загрузчик этого модуля у себя в приложении => падает на стендах на моем экране, на локалке все отрабатывает нормально.
На потребителях, кто юзает мой модуль - работает

Теперь provider-only wmf config получает отдельные:

  • output.uniqueName
  • output.chunkLoadingGlobal

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 3, 2026

🦋 Changeset detected

Latest commit: fb3dcef

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
arui-scripts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant