File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lowcoder/src/comps/comps/remoteComp Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " lowcoder-sdk" ,
3- "version" : " 0.0.41 " ,
3+ "version" : " 2.1.0 " ,
44 "type" : " module" ,
55 "files" : [
66 " src" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ async function npmLoader(remoteInfo: RemoteCompInfo): Promise<CompConstructor |
1818async 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 } ) ) ;
You can’t perform that action at this time.
0 commit comments