Skip to content

Commit 42be426

Browse files
authored
Merge pull request #796 from raheeliftikhar5/lowcoder-sdk-nextjs-build-fix
Fx lowcoder-sdk error on nextjs build app
2 parents 42efedb + cb7a639 commit 42be426

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

client/packages/lowcoder-sdk-webpack-bundle/webpack.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = {
9595
},
9696
output: {
9797
path: path.resolve(__dirname, 'dist'),
98-
publicPath: "https://sdk.lowcoder.cloud/",
98+
publicPath: "https://sdk-v2.lowcoder.cloud/",
9999
filename: '[name].bundle.js',
100100
clean: true,
101101
},

client/packages/lowcoder-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lowcoder-sdk",
3-
"version": "2.4.0-beta",
3+
"version": "2.4.0-beta-1",
44
"type": "module",
55
"files": [
66
"src",

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const defaultHookListValue = [
2626
{ compType: "theme", name: "theme" },
2727
] as const;
2828

29-
const HookListTmpComp = list(HookComp);
30-
const HookListTmp2Comp = class extends HookListTmpComp {
29+
// const HookListTmpComp = list(HookComp);
30+
const HookListTmp2Comp = class extends list(HookComp) {
3131
getAllCompItems() {
3232
return getAllCompItems(this.getCompTree());
3333
}

0 commit comments

Comments
 (0)