Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / modules / ajax_test / ajax_test.libraries.yml
1 ajax_insert:
2   js:
3     js/insert-ajax.js: {}
4   dependencies:
5     - core/drupal.ajax
6 order:
7  drupalSettings:
8    ajax: test
9  dependencies:
10    - ajax_test/order-css-command
11    - ajax_test/order-footer-js-command
12    - ajax_test/order-header-js-command
13
14 order-css-command:
15   css:
16      theme:
17        # Two CSS files (order should remain the same).
18        a.css: {}
19        b.css: {}
20
21 order-footer-js-command:
22   js:
23     footer.js: {}
24
25 order-header-js-command:
26   header: true
27   js:
28     header.js: {}