File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 511
511
/messenger/message-recorder messenger/dispatch_after_current_bus
512
512
/components/stopwatch https://github.com/symfony/stopwatch
513
513
/service_container/3.3-di-changes https://symfony.com/doc/3.4/service_container/3.3-di-changes.html
514
+ /frontend/encore/shared-entry /frontend/encore/split-chunks
Original file line number Diff line number Diff line change @@ -62,15 +62,16 @@ server SSL certificate:
62
62
63
63
// webpack.config.js
64
64
// ...
65
+ const path = require (' path' );
65
66
66
67
Encore
67
68
// ...
68
69
69
- .configureDevServerOptions (options => {
70
- options .https = {
71
- pfx: path .join (process .env .HOME , ' .symfony/certs/default.p12' ),
72
- }
73
- })
70
+ .configureDevServerOptions (options => {
71
+ options .https = {
72
+ pfx: path .join (process .env .HOME , ' .symfony/certs/default.p12' ),
73
+ }
74
+ })
74
75
75
76
Then make sure you run the ``dev-server `` with the ``--https `` option:
76
77
@@ -92,9 +93,9 @@ the ``firewall`` option:
92
93
Encore
93
94
// ...
94
95
95
- .configureDevServerOptions (options => {
96
- options .firewall = false ;
97
- })
96
+ .configureDevServerOptions (options => {
97
+ options .firewall = false ;
98
+ })
98
99
99
100
Hot Module Replacement HMR
100
101
--------------------------
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Using React? First add some dependencies with Yarn:
11
11
.. code-block :: terminal
12
12
13
13
$ yarn add @babel/preset-react --dev
14
- $ yarn add react react-dom prop-types --dev
14
+ $ yarn add react react-dom prop-types
15
15
16
16
Enable react in your ``webpack.config.js ``:
17
17
You can’t perform that action at this time.
0 commit comments