How do I format JQuery in Drupal 8?
D8 makes fewer assumptions about what you need in the page, so the Drupal JS library isn't included unless it's specified.

Just add

- core/drupal


as one of your library's dependancies, rebuild the cache, and all should be well.