You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #693 Add a way to configure devServer options (Kocal)
This PR was squashed before being merged into the master branch (closes#693).
Discussion
----------
Add a way to configure devServer options
Hi :)
This PR is a proposal for #692. It add a new method `Encore.configureDevServerOptions()` for [configuring the webpack dev-server](https://webpack.js.org/configuration/dev-server/).
Example:
```js
Encore
// ...
.configureDevServerOptions(options => {
options.https = {
key: '...',
cert: '...',
};
})
```
I've installed [`chai-subet`](https://www.chaijs.com/plugins/chai-subset/) for asserting objects (it's more readable and easy to do), but I can remove it if it's not wanted. 👍
Commits
-------
6d2730e Add a way to configure devServer options
0 commit comments