Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Commit91d8c76
committed
minor#11593 fix encore multiple configuration build paths (gseidel)
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes#11593).Discussion----------fix encore multiple configuration build pathsThis PR fix two things:- `%kernel.public_dir%` does not exists and `%kernel.project_dir%/public` is the correct path.- As mentioned heresymfony/webpack-encore#477, the multiple config will overwrite the `entrypoint.js`. The solution is to use two build directories, but this needs two different paths in the `webpack.config.js`.Now someone can just copy&paste the code lines and it should work.Commits-------81f9491 fix encore multiple configuration build paths1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments
Comments
(0)