Skip to content

Commit

Permalink
fix(yunti-ui): fix import Setters issue for Monaco Editor Meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed Jan 11, 2024
1 parent 3b504af commit b16cca5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions packages/yunti-ui-lowcode-materials/.fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ import { IS_DEV } from '../../constants';
const library = 'YuntiUiLowcode';

const externals = {
'react': 'var window.React',
'lodash': 'var window._',
react: 'var window.React',
lodash: 'var window._',
// @todo: 增加以下 externals 避免 'VERSION_PLACEHOLDER is not defined' 错误
'@alifd/next': 'var window.Next',
'@alilc/lowcode-engine': 'var window.AliLowCodeEngine',
'@alilc/lowcode-editor-core': 'var window.AliLowCodeEngine.common.editorCabin',
'@alilc/lowcode-editor-skeleton': 'var window.AliLowCodeEngine.common.skeletonCabin',
'@alilc/lowcode-designer': 'var window.AliLowCodeEngine.common.designerCabin',
'@alilc/lowcode-engine-ext': 'var window.AliLowCodeEngineExt',
'@ali/lowcode-engine': 'var window.AliLowCodeEngine',
// '@alifd/next': 'var window.Next',
// '@alilc/lowcode-engine': 'var window.AliLowCodeEngine',
// '@alilc/lowcode-editor-core': 'var window.AliLowCodeEngine.common.editorCabin',
// '@alilc/lowcode-editor-skeleton': 'var window.AliLowCodeEngine.common.skeletonCabin',
// '@alilc/lowcode-designer': 'var window.AliLowCodeEngine.common.designerCabin',
// '@alilc/lowcode-engine-ext': 'var window.AliLowCodeEngineExt',
// '@ali/lowcode-engine': 'var window.AliLowCodeEngine',
};

const output = IS_DEV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IPublicTypeComponentMetadata, IPublicTypeConfigure } from '@alilc/lowcode-types';

import { Setters } from '../../../shared/src';
import { Setters } from '../../../shared/src/setters';
import { COMMON_CONFIGURE_PROPS, getPriority } from '../utils';
import { MonacoDiffEditorSnippets, MonacoEditorSnippets } from './snippets';

Expand Down

0 comments on commit b16cca5

Please sign in to comment.