diff --git a/core/core.libraries.yml b/core/core.libraries.yml
index 60261676fa0ec6b14c116c2ca3126a136aeafd9b..23d2dcd075799cff70b1ceb98ad1fe0b1d0f9e07 100644
--- a/core/core.libraries.yml
+++ b/core/core.libraries.yml
@@ -801,7 +801,7 @@ internal.jquery.form:
     url: https://raw.githubusercontent.com/jquery-form/form/master/LICENSE
     gpl-compatible: true
   js:
-    misc/jquery.form.js: {}
+    assets/vendor/jquery-form/jquery.form.min.js: { minified: true, weight: -19 }
   dependencies:
     - core/jquery
 
@@ -834,7 +834,7 @@ once:
     url: https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md
     gpl-compatible: true
   js:
-    assets/vendor/once/once.min.js: { weight: -19, minified: true }
+    assets/vendor/once/once.min.js: { weight: -19 }
 
 sortable:
   remote: https://github.com/SortableJS/Sortable