Skip to content

Commit 4d97714

Browse files
authored
Update loaders.tsx
1 parent 550470c commit 4d97714

File tree

1 file changed

+2
-2
lines changed
  • client/packages/lowcoder/src/comps/comps/remoteComp

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ async function npmLoader(
1515
const localPackageVersion = remoteInfo.packageVersion || "latest";
1616

1717
const { packageName, packageVersion, compName } = remoteInfo;
18-
// const entry = `${NPM_PLUGIN_ASSETS_BASE_URL}/${packageName}@${localPackageVersion}/index.js`;
19-
const entry = `../../../../../public/package/index.js`;
18+
const entry = `${NPM_PLUGIN_ASSETS_BASE_URL}/${packageName}@${localPackageVersion}/index.js`;
19+
/// const entry = `../../../../../public/package/index.js`;
2020
// console.log("Entry", entry);
2121
try {
2222
const module = await import(

0 commit comments

Comments
 (0)