Skip to content
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

sku v13: Remove old configuration values and CLI arguments #980

Merged
merged 9 commits into from
Jul 8, 2024

Conversation

askoufis
Copy link
Contributor

Removing unused and deprecated config values and CLI args. See changesets for details.

Usage

@askoufis askoufis requested a review from a team as a code owner May 30, 2024 01:00
Copy link

changeset-bot bot commented May 30, 2024

🦋 Changeset detected

Latest commit: 56549d8

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

This PR includes changesets to release 1 package
Name Type
sku Major

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

const makeWebpackConfig = ({
isIntegration = false,
port = 0,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you clarify the removal of port? Not immediately obvious from the diff

Copy link
Contributor Author

@askoufis askoufis Jun 4, 2024

Choose a reason for hiding this comment

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

port isn't specified anywhere makeWebpackConfig is called, and the only usage of it was in the now-deleted stringifyEnvarValues. Eventually the value ends up in a define plugin for process.env.PORT.

I don't think anyone is depending on process.env.PORT inside their app code. A high-level look at a github search for process.env.PORT aligns with that assumption.

@askoufis askoufis enabled auto-merge (squash) July 8, 2024 04:56
@askoufis askoufis merged commit dbd6696 into master Jul 8, 2024
4 checks passed
@askoufis askoufis deleted the remove-old-config branch July 8, 2024 05:01
@seek-oss-ci seek-oss-ci mentioned this pull request Jul 8, 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.

None yet

2 participants