Angular-cli: specify the `setup` option for webpack-dev-server in `serve` command

Created on 13 Apr 2017  路  5Comments  路  Source: angular/angular-cli

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Versions.

Repro steps.

The log given by the failure.

Desired functionality.


able to specify the setup option for webpack-dev-server in serve command, similar to --proxy-config option.

Mention any other details that might be useful.


for the setup option of webpack-dev-server, refer to https://webpack.js.org/configuration/dev-server/#devserver-setup

All 5 comments

not sure if this aligns with the design principle of @angular/cli...
if this is acceptable, I can submit a PR.

I would also find this very useful

This isn't something we're looking at doing for 1.x. It's a great candidate for the addon system coming in 2+ though.

+1

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings