Commit f1ac0b1
committed
minor #16207 Add information about strict_mode for encore (Philosoft)
This PR was submitted for the 6.0 branch but it was squashed and merged into the 5.4 branch instead.
Discussion
----------
Add information about strict_mode for encore
I guess it should be both in `5.4` and `6.0`, but actually will be useful down to whenever symfony/webpack-encore-bundle#54 was merged
Personally, it took me quite a long time to determine and fix the cause of functional tests failing in CI. I know that stuff is kind of mentioned in `config/packages/webpack_encore.yaml`, but here are my excuses
* there is certain time gap between you first install webpack, write your functional tests (involved with actual HTML rendering), add some styles/scripts to template and setup CI to run these tests
* this stuff is not mentioned in the docs at all - `fgrep -RH strict_mode .` gives 0 results
Commits
-------
2b6371f Add information about strict_mode for encore1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
0 commit comments