OLD | NEW |
(Empty) | |
| 1 # This is a configuration file for devtools (`mojo_run`, `mojo_test) running |
| 2 # within a Mojo checkout. |
| 3 |
| 4 # The content has to parse to a Python dictionary literal. Strings of the form |
| 5 # '@{ABC}' are aliases that will be substituted for their values before |
| 6 # evaluation: |
| 7 # '@{BUILD_DIR}': path to the output directory |
| 8 |
| 9 { |
| 10 # Each dev server will be configured as specified and mapped for the |
| 11 # indicated host using --map-origin. |
| 12 'dev_servers': [ |
| 13 { |
| 14 'host': 'https://core.mojoapps.io/', |
| 15 # First matching prefix will apply. Within the directiories specified for |
| 16 # a prefix, first location that contains the requested path will apply. |
| 17 'mappings': [ |
| 18 ('packages/', ['@{BUILD_DIR}/gen/dart-pkg/packages']), |
| 19 ('', ['@{BUILD_DIR}']), |
| 20 ], |
| 21 }, |
| 22 ], |
| 23 } |
OLD | NEW |