Skip to content

Commit 44a7c5e

Browse files
author
FalkWolsky
committed
fix:Enabling RemoteCops to load external Source, update SDK Version
1 parent 813aa2e commit 44a7c5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/packages/lowcoder-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lowcoder-sdk",
3-
"version": "0.0.41",
3+
"version": "2.1.0",
44
"type": "module",
55
"files": [
66
"src",

client/packages/lowcoder/src/comps/comps/remoteComp/loaders.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function npmLoader(remoteInfo: RemoteCompInfo): Promise<CompConstructor |
1818
async function bundleLoader(remoteInfo: RemoteCompInfo): Promise<CompConstructor | null> {
1919
const { packageName, packageVersion = "latest", compName } = remoteInfo;
2020
const entry = `/${packageName}/${packageVersion}/index.js?v=${REACT_APP_COMMIT_ID}`;
21-
const module = await import(/* @vite-ignore */ entry);
21+
const module = await import(/* webpackIgnore: true */ entry);
2222
const comp = module.default?.[compName];
2323
if (!comp) {
2424
throw new Error(trans("npm.compNotFound", { compName }));

0 commit comments

Comments
 (0)