File tree 3 files changed +16
-15
lines changed
lowcoder-sdk-webpack-bundle
3 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ module.exports = {
96
96
output : {
97
97
path : path . resolve ( __dirname , 'dist' ) ,
98
98
// publicPath: "https://sdk.lowcoder.cloud/",
99
- publicPath : "/" ,
99
+ publicPath : "https://webviewer.lowcoder.cloud /" ,
100
100
filename : '[name].bundle.js' ,
101
101
clean : true ,
102
102
} ,
@@ -113,11 +113,11 @@ module.exports = {
113
113
path : path . resolve ( __dirname , 'bundle' ) ,
114
114
filename : 'bundle.js'
115
115
} ) ,
116
- new CopyPlugin ( {
117
- patterns : [
118
- "./index.html" ,
119
- ] ,
120
- } ) ,
116
+ // new CopyPlugin({
117
+ // patterns: [
118
+ // "./index.html",
119
+ // ],
120
+ // }),
121
121
isVisualizerEnabled && new BundleAnalyzerPlugin ( )
122
122
] ,
123
123
optimization : {
Original file line number Diff line number Diff line change @@ -110,12 +110,13 @@ function RootView(props: RootViewProps) {
110
110
} ;
111
111
} , [ editorState , propertySectionState ] ) ;
112
112
113
- if ( ! editorState ) {
114
- if ( isModuleRoot ) {
115
- return < ModuleLoading /> ;
116
- }
117
- return < EditorSkeletonView /> ;
118
- }
113
+ // if (!editorState) {
114
+ // if (isModuleRoot) {
115
+ // return <ModuleLoading />;
116
+ // }
117
+ // return <EditorSkeletonView />;
118
+ // }
119
+ if ( ! editorState ) return < ModuleLoading /> ;
119
120
120
121
return (
121
122
< div { ...divProps } >
@@ -125,7 +126,7 @@ function RootView(props: RootViewProps) {
125
126
{ Object . keys ( comp . children . queries . children ) . map ( ( key ) => (
126
127
< div key = { key } > { comp . children . queries . children [ key ] . getView ( ) } </ div >
127
128
) ) }
128
- < Suspense fallback = { < EditorSkeletonView /> } >
129
+ < Suspense fallback = { null } >
129
130
< EditorView uiComp = { comp . children . ui } preloadComp = { comp . children . preload } />
130
131
</ Suspense >
131
132
</ EditorContext . Provider >
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export default function AppEditor() {
136
136
return (
137
137
< ErrorBoundary >
138
138
{ showAppSnapshot ? (
139
- < Suspense fallback = { < EditorSkeletonView /> } >
139
+ < Suspense fallback = { null } >
140
140
< AppSnapshot
141
141
currentAppInfo = { {
142
142
...appInfo ,
@@ -145,7 +145,7 @@ export default function AppEditor() {
145
145
/>
146
146
</ Suspense >
147
147
) : (
148
- < Suspense fallback = { < EditorSkeletonView /> } >
148
+ < Suspense fallback = { null } >
149
149
< AppEditorInternalView
150
150
appInfo = { appInfo }
151
151
readOnly = { readOnly }
You can’t perform that action at this time.
0 commit comments