Commit 796c62b
Web dev proxy (flutter#172175)
Adding a development Proxy and dedicated Web configuration File
<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->
Flutter's current web development configuration relies on CLI arguments
and does not have a development proxy. This PR adds a development proxy
to flutter and a designated web_dev_config.yaml where web configuration
settings are loaded from.
Issues:
flutter#170834
Document:
[HERE](https://docs.google.com/document/d/1Ud9D3F0GxB5Ocoo5NnAy7PH5oo3qxvALxUlAXMCANJ0/edit?usp=sharing)
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
Co-authored-by: Sydney Bao <s.bao2115@gmail.com>
Co-authored by: Salem Iranloye <salemiranloye@gmail.com>
---------
Co-authored-by: Kevin Moore <kevmoo@google.com>
Co-authored-by: Sydney Bao <sydneybao@google.com>1 parent 9264b70 commit 796c62b
File tree
18 files changed
+1174
-266
lines changed- packages/flutter_tools
- lib/src
- commands
- drive
- isolated
- runner
- web
- test
- commands.shard/hermetic
- general.shard
- drive
- web
18 files changed
+1174
-266
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
306 | 326 | | |
307 | | - | |
308 | 327 | | |
309 | 328 | | |
310 | 329 | | |
| |||
324 | 343 | | |
325 | 344 | | |
326 | 345 | | |
327 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
328 | 349 | | |
329 | 350 | | |
330 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
282 | | - | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| |||
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | 293 | | |
297 | 294 | | |
298 | 295 | | |
299 | 296 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | 297 | | |
305 | 298 | | |
306 | 299 | | |
| |||
312 | 305 | | |
313 | 306 | | |
314 | 307 | | |
315 | | - | |
316 | 308 | | |
317 | 309 | | |
318 | 310 | | |
| |||
323 | 315 | | |
324 | 316 | | |
325 | 317 | | |
| 318 | + | |
326 | 319 | | |
327 | 320 | | |
328 | 321 | | |
| |||
354 | 347 | | |
355 | 348 | | |
356 | 349 | | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | 350 | | |
362 | 351 | | |
363 | 352 | | |
| |||
372 | 361 | | |
373 | 362 | | |
374 | 363 | | |
375 | | - | |
376 | 364 | | |
377 | 365 | | |
378 | 366 | | |
| |||
393 | 381 | | |
394 | 382 | | |
395 | 383 | | |
| 384 | + | |
396 | 385 | | |
397 | 386 | | |
398 | 387 | | |
| |||
504 | 493 | | |
505 | 494 | | |
506 | 495 | | |
507 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
508 | 527 | | |
509 | 528 | | |
510 | 529 | | |
| |||
655 | 674 | | |
656 | 675 | | |
657 | 676 | | |
| 677 | + | |
| 678 | + | |
658 | 679 | | |
659 | 680 | | |
660 | 681 | | |
| |||
672 | 693 | | |
673 | 694 | | |
674 | 695 | | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | 696 | | |
683 | 697 | | |
684 | 698 | | |
| |||
707 | 721 | | |
708 | 722 | | |
709 | 723 | | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
710 | 730 | | |
711 | 731 | | |
712 | 732 | | |
713 | 733 | | |
714 | | - | |
| 734 | + | |
715 | 735 | | |
716 | 736 | | |
717 | 737 | | |
| |||
727 | 747 | | |
728 | 748 | | |
729 | 749 | | |
730 | | - | |
| 750 | + | |
731 | 751 | | |
732 | 752 | | |
733 | 753 | | |
| |||
741 | 761 | | |
742 | 762 | | |
743 | 763 | | |
744 | | - | |
| 764 | + | |
745 | 765 | | |
746 | 766 | | |
747 | 767 | | |
| |||
763 | 783 | | |
764 | 784 | | |
765 | 785 | | |
| 786 | + | |
766 | 787 | | |
767 | 788 | | |
768 | 789 | | |
769 | 790 | | |
770 | 791 | | |
771 | 792 | | |
772 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
773 | 798 | | |
774 | 799 | | |
775 | 800 | | |
776 | 801 | | |
777 | 802 | | |
778 | 803 | | |
779 | | - | |
| 804 | + | |
780 | 805 | | |
781 | 806 | | |
782 | 807 | | |
| |||
0 commit comments