File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
packages/build-plugin-lowcode Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @alifd/build-plugin-lowcode" ,
3- "version" : " 0.4.6 " ,
3+ "version" : " 0.4.7 " ,
44 "description" : " build plugin for component-to-lowcode" ,
55 "main" : " src/index.js" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -828,7 +828,7 @@ async function bundleEditorView(
828828 ...SingleComponentData
829829 }` ;
830830 // default 不一定存在,export { default } 不安全可能会报错
831- componentViewsExportStr = `\nconst entryDefault = componentInstances.default;\nexport { entryDefault as default };export * from '${ lowcodeViewPath } ';` ;
831+ componentViewsExportStr = `\nconst entryDefault = componentInstances.default;\nexport { entryDefault as default };\nexport * from '${ lowcodeViewPath } ';` ;
832832 } else {
833833 const _componentViews = getUsedComponentViews ( rootDir , lowcodeDir , components ) || [ ] ;
834834 componentViews = `{${ _componentViews
Original file line number Diff line number Diff line change 1- { { { componentViewsImportStr } } }
2-
31import * as componentInstances from '{{{entryPath}}}' ;
42
3+ { { { componentViewsImportStr } } }
4+
55{ { { scssImport } } }
66
77{ { { componentViewsExportStr } } }
8+
89export * from '{{{entryPath}}}' ;
9- { { { componentViewsExportStr } } }
1010
1111const coveredComponents = { { { componentViews} } } ;
1212
You can’t perform that action at this time.
0 commit comments