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

Allow serve property in webpack configuration #7310

Merged
merged 1 commit into from
May 15, 2018

Conversation

kleinph
Copy link
Contributor

@kleinph kleinph commented May 15, 2018

Allow to specify serve property in webpack configurations. This is used to configure webpack-serve.

Fixes #7306

What kind of change does this PR introduce?

bugfix

Did you add tests for your changes?

No, adapted tests.

Does this PR introduce a breaking change?

No, but a new config options is available

What needs to be documented once your changes are merged?

The serve property should be listed under https://webpack.js.org/configuration/ and documented there.

The server property is used to configure webpack-serve
(https://github.com/webpack-contrib/webpack-serve).
Also adapt tests.

Fixes webpack#7306
@jsf-clabot
Copy link

jsf-clabot commented May 15, 2018

CLA assistant check
All committers have signed the CLA.

@webpack-bot
Copy link
Contributor

For maintainers only:

  • This need to be documented (issue in webpack/webpack.js.org will be filed when merged)

@webpack-bot
Copy link
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@webpack-bot
Copy link
Contributor

I've created an issue to document this in webpack/webpack.js.org.

@sokra
Copy link
Member

sokra commented May 15, 2018

Thanks

@kleinph kleinph deleted the webpack-serve-config branch May 15, 2018 15:43
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.

serve property in webpack.config.js is treated as invalid
5 participants