Преглед изворни кода

Replaced `lib/lodash` imports with `lodash-es`.

Maciej Bukowski пре 7 година
родитељ
комит
288dec8845

+ 2 - 1
packages/ckeditor5-core/package.json

@@ -22,7 +22,8 @@
   ],
   "dependencies": {
     "@ckeditor/ckeditor5-engine": "^10.2.0",
-    "@ckeditor/ckeditor5-utils": "^10.2.0"
+    "@ckeditor/ckeditor5-utils": "^10.2.0",
+    "lodash-es": "^4.17.10"
   },
   "devDependencies": {
     "@ckeditor/ckeditor5-autoformat": "^10.0.2",

+ 1 - 1
packages/ckeditor5-core/src/editor/utils/attachtoform.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import isFunction from '@ckeditor/ckeditor5-utils/src/lib/lodash/isFunction';
+import { isFunction } from 'lodash-es';
 import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
 
 /**