diff --git a/edit.module b/edit.module
index 38b4cc3..2849918 100644
--- a/edit.module
+++ b/edit.module
@@ -853,6 +853,15 @@ function edit_libraries_info() {
 }
 
 /**
+ * Implement hook_libraries_info_alter().
+ */
+function edit_libraries_info_alter(&$info) {
+  // underscore.module also declares library information for the underscore
+  // library, but does not include the 'variant order' key.
+  $info['underscore']['variant order'] = array('minified', 'source');
+}
+
+/**
  * Generates an identifier to store an entity in TempStore while editing.
  *
  * Must be user-specific.
