File tree 2 files changed +2
-2
lines changed
lowcoder/src/comps/comps/remoteComp
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lowcoder-sdk" ,
3
- "version" : " 0.0.41 " ,
3
+ "version" : " 2.1.0 " ,
4
4
"type" : " module" ,
5
5
"files" : [
6
6
" src" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ async function npmLoader(remoteInfo: RemoteCompInfo): Promise<CompConstructor |
18
18
async function bundleLoader ( remoteInfo : RemoteCompInfo ) : Promise < CompConstructor | null > {
19
19
const { packageName, packageVersion = "latest" , compName } = remoteInfo ;
20
20
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 ) ;
22
22
const comp = module . default ?. [ compName ] ;
23
23
if ( ! comp ) {
24
24
throw new Error ( trans ( "npm.compNotFound" , { compName } ) ) ;
You can’t perform that action at this time.
0 commit comments