File tree Expand file tree Collapse file tree 3 files changed +16
-15
lines changed
lowcoder-sdk-webpack-bundle Expand file tree Collapse file tree 3 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ module.exports = {
9696 output : {
9797 path : path . resolve ( __dirname , 'dist' ) ,
9898 // publicPath: "https://sdk.lowcoder.cloud/",
99- publicPath : "/" ,
99+ publicPath : "https://webviewer.lowcoder.cloud /" ,
100100 filename : '[name].bundle.js' ,
101101 clean : true ,
102102 } ,
@@ -113,11 +113,11 @@ module.exports = {
113113 path : path . resolve ( __dirname , 'bundle' ) ,
114114 filename : 'bundle.js'
115115 } ) ,
116- new CopyPlugin ( {
117- patterns : [
118- "./index.html" ,
119- ] ,
120- } ) ,
116+ // new CopyPlugin({
117+ // patterns: [
118+ // "./index.html",
119+ // ],
120+ // }),
121121 isVisualizerEnabled && new BundleAnalyzerPlugin ( )
122122 ] ,
123123 optimization : {
Original file line number Diff line number Diff line change @@ -110,12 +110,13 @@ function RootView(props: RootViewProps) {
110110 } ;
111111 } , [ editorState , propertySectionState ] ) ;
112112
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 /> ;
119120
120121 return (
121122 < div { ...divProps } >
@@ -125,7 +126,7 @@ function RootView(props: RootViewProps) {
125126 { Object . keys ( comp . children . queries . children ) . map ( ( key ) => (
126127 < div key = { key } > { comp . children . queries . children [ key ] . getView ( ) } </ div >
127128 ) ) }
128- < Suspense fallback = { < EditorSkeletonView /> } >
129+ < Suspense fallback = { null } >
129130 < EditorView uiComp = { comp . children . ui } preloadComp = { comp . children . preload } />
130131 </ Suspense >
131132 </ EditorContext . Provider >
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export default function AppEditor() {
136136 return (
137137 < ErrorBoundary >
138138 { showAppSnapshot ? (
139- < Suspense fallback = { < EditorSkeletonView /> } >
139+ < Suspense fallback = { null } >
140140 < AppSnapshot
141141 currentAppInfo = { {
142142 ...appInfo ,
@@ -145,7 +145,7 @@ export default function AppEditor() {
145145 />
146146 </ Suspense >
147147 ) : (
148- < Suspense fallback = { < EditorSkeletonView /> } >
148+ < Suspense fallback = { null } >
149149 < AppEditorInternalView
150150 appInfo = { appInfo }
151151 readOnly = { readOnly }
You can’t perform that action at this time.
0 commit comments