Skip to content

Commit 76c8e81

Browse files
load lowcoder-comps from npm
1 parent 7e757d2 commit 76c8e81

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/packages/lowcoder/src/comps/hooks/hookComp.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ const TitleHookComp = withPropertyViewFn(TitleTmp2Comp, (comp) => {
8888
);
8989
});
9090
const builtInRemoteComps: Omit<RemoteCompInfo, "compName"> = {
91-
source: !!REACT_APP_BUNDLE_BUILTIN_PLUGIN ? "bundle" : "npm",
91+
// source: !!REACT_APP_BUNDLE_BUILTIN_PLUGIN ? "bundle" : "npm",
92+
source: "npm",
9293
isRemote: true,
9394
packageName: "lowcoder-comps",
9495
};

client/packages/lowcoder/src/comps/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ type Registry = {
119119
};
120120

121121
const builtInRemoteComps: Omit<RemoteCompInfo, "compName"> = {
122-
source: !!REACT_APP_BUNDLE_BUILTIN_PLUGIN ? "bundle" : "npm",
122+
// source: !!REACT_APP_BUNDLE_BUILTIN_PLUGIN ? "bundle" : "npm",
123+
source: "npm",
123124
isRemote: true,
124125
packageName: "lowcoder-comps",
125126
};

0 commit comments

Comments
 (0)