-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix: correct URL for entry points #7490
Conversation
🦋 Changeset detectedLatest commit: f3d2c10 The changes in this PR will be included in the next version bump. 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 |
9c0a4ee
to
74a8808
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small nit, but otherwise looks great!
NOTE: The changelog edit sounds fine to me. IIRC you can do that with changesets. Editing the release later should also be fine too.
export interface BuildConfig { | ||
/** | ||
* @deprecated Use config.build.client instead. | ||
*/ | ||
client: URL; | ||
/** | ||
* @deprecated Use config.build.server instead. | ||
*/ | ||
server: URL; | ||
/** | ||
* @deprecated Use config.build.serverEntry instead. | ||
*/ | ||
serverEntry: string; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this refactor!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it was long overdue
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Changes
There were two issues:
for..in
instead offor..of
, because of that, the test was running but the for loop wasn't executed. Fixing that showed the issue and it was failing;entryPoints
, which now uses the correctbuild.server
URLentryPoints
in a changeset; we can't create a new changeset now because the feature is already released. I changedCHANGELOG.md
. Once accepted, I will change the text of https://github.com/withastro/astro/releases/tag/astro%402.7.0Testing
Fixed the current test case
Docs
/cc @withastro/maintainers-docs for feedback!