@next-core/brick-utils 2.35.1 → 2.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/index.bundle.js +5 -3
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +5 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -20275,11 +20275,13 @@ function getDllAndDepsByResource(_ref, brickPackages) {
|
|
|
20275
20275
|
// istanbul ignore else
|
|
20276
20276
|
if (editor.includes(".")) {
|
|
20277
20277
|
var namespace = editor.split(".")[0];
|
|
20278
|
-
var find = brickMap.get(namespace);
|
|
20278
|
+
var find = brickMap.get(namespace); // There maybe no `editorsJsFilePath`.
|
|
20279
20279
|
|
|
20280
20280
|
if (find) {
|
|
20281
|
-
|
|
20282
|
-
|
|
20281
|
+
if (find.editorsJsFilePath) {
|
|
20282
|
+
deps.add(find.editorsJsFilePath);
|
|
20283
|
+
dll.add("editor-bricks-helper");
|
|
20284
|
+
}
|
|
20283
20285
|
} else {
|
|
20284
20286
|
// eslint-disable-next-line no-console
|
|
20285
20287
|
console.error("the name of editor is `".concat(editor, "` and it don't match any editor package"));
|