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

[Encore] Changing dev-server to use the new server option #16833

Merged
merged 1 commit into from
May 31, 2022

Conversation

weaverryan
Copy link
Member

See: symfony/webpack-encore#1125

But it is NOT dependent on that PR. These changes are already "good change" and do not require changes to Encore.


Encore uses ``webpack-dev-server`` version 4, which at the time of Encore's
1.0 release was still in beta and was not documented. See the `4.0 CHANGELOG`_
for changes.
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed as the note was pretty old now

}
})
;

.. versionadded:: 0.28.4

The ``Encore.configureDevServerOptions()`` method was introduced in Encore 0.28.4.
Copy link
Member Author

Choose a reason for hiding this comment

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

That version is now very old, so just some housekeeping


Make sure to **not** pass the ``--https`` flag at the command line when
running ``encore dev-server``. This flag was required before 1.0, but now
will cause your config to be overridden.
Copy link
Member Author

Choose a reason for hiding this comment

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

The first part of the note is now quite old as 1.0 was released about 2 years ago. For the second part (about overridden), I can't find anything in the code that would suggest that also passing --https would cause any type of overriding.

@javiereguiluz
Copy link
Member

Thank you Ryan.

@javiereguiluz javiereguiluz merged commit af83280 into symfony:5.4 May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants