mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
chore: 调整 jssdk amisRequire('amis') 能拿到轻量级的模块, amisRequire(['amis/full']) 拿全量的包含所有 amis-ui 和 内置渲染器 的模块 (#11172)
This commit is contained in:
parent
0a8ceaaf39
commit
bb1a6bae06
@ -22,8 +22,10 @@
|
||||
'echarts': __moduleId('echarts'),
|
||||
'zrender': __moduleId('zrender'),
|
||||
'sortablejs': __moduleId('sortablejs'),
|
||||
'amis': __moduleId('amis'),
|
||||
'amis@@version': __moduleId('amis'),
|
||||
'amis': __moduleId('amis/lib/minimal'),
|
||||
'amis/full': __moduleId('amis'),
|
||||
'amis@@version': __moduleId('amis/lib/minimal'),
|
||||
'amis@@version/full': __moduleId('amis'),
|
||||
'amis/embed': __moduleId('./embed.tsx'),
|
||||
'amis@@version/embed': __moduleId('./embed.tsx'),
|
||||
'prop-types': __moduleId('prop-types'),
|
||||
@ -31,7 +33,7 @@
|
||||
'path-to-regexp': __moduleId('path-to-regexp'),
|
||||
'history': __moduleId('history'),
|
||||
'tslib': __moduleId('tslib'),
|
||||
'@fex/amis': __moduleId('amis'),
|
||||
'@fex/amis': __moduleId('amis/lib/minimal'),
|
||||
'@fex/amis-ui': __moduleId('amis-ui'),
|
||||
'@fex/amis-core': __moduleId('amis-core'),
|
||||
'@fex/amis-formula': __moduleId('amis-formula'),
|
||||
|
@ -2,6 +2,7 @@
|
||||
* 只包含 amis 最小集,不引入其他模块
|
||||
*/
|
||||
import {registerRenderer} from 'amis-core';
|
||||
export * from 'amis-core';
|
||||
import './preset';
|
||||
|
||||
// 注册渲染器
|
||||
|
Loading…
Reference in New Issue
Block a user