We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f5cc1 commit 869727dCopy full SHA for 869727d
frontend/encore/dev-server.rst
@@ -26,6 +26,25 @@ by the normal `webpack-dev-server`_. For example:
26
27
This will start a server at ``https://localhost:9000``.
28
29
+If you prefer, you can use ``Encore.configureDevServerOptions()`` to configure `webpack-dev-server`_ in your ``webpack.config.js`` file.
30
+For example:
31
+
32
+.. code-block:: javascript
33
34
+ // webpack.config.js
35
+ // ...
36
37
+ Encore
38
39
40
+ .configureDevServerOptions(options => {
41
+ options.https = {
42
+ key: '/path/to/server.key',
43
+ cert: '/path/to/server.crt',
44
+ }
45
+ })
46
+ ;
47
48
Hot Module Replacement HMR
49
--------------------------
50
0 commit comments