Skip to content

fi(node): AutoPublicPath plugin to use federation api to calculate public path automatically #1983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 20, 2024

Conversation

ScriptedAlchemy
Copy link
Member

Description

removes tech debt around node.js and public path calculation which still relied on old globals.

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

globalThis.__remote_scope__._config[remote],
).pathname
.split('/')
.pop();

// Construct the stats file URL from the remote config
//@ts-ignore
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more work needed here, but there are other isssues beyond this that must be accounted for.

@ScriptedAlchemy ScriptedAlchemy changed the title fi(node): AutoAsyncBoundery plugin to use FEDERATION global manager for path resolvers in auto mode fi(node): AutoPublicPath plugin to use federation api to calculate public path automatically Jan 17, 2024
@ScriptedAlchemy ScriptedAlchemy merged commit 2b34e46 into main Jan 20, 2024
@ScriptedAlchemy ScriptedAlchemy deleted the improve-public-path- branch January 20, 2024 01:22
@zhoushaw zhoushaw mentioned this pull request Jan 22, 2024
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.

2 participants