Commit c369789
authored
If #420 there was still an issue that `--spa would work very weirdly
without `--index`; single page applications are never implemented
without also using `index.html` files. This PR fixes this by
automatically setting `cli.index` to `true` if `cli.spa` is set to true.
I could throw an error if the `--index` flag is not passed in with
`--spa`, but I think those are way too many keystrokes for a feature
someone would already expect
I manually tested this and it works great for every case
1 parent cf47906 commit c369789
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | 191 | | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| |||
0 commit comments