feat: provide usable UMD builds for all packages (#2141)
This commit is contained in:
committed by
Shawn Erquhart
parent
1d935c704d
commit
82cc7941cc
@ -21,25 +21,17 @@
|
||||
"build": "cross-env NODE_ENV=production webpack"
|
||||
},
|
||||
"dependencies": {
|
||||
"netlify-cms-widget-object": "^2.0.7-beta.0",
|
||||
"react-sortable-hoc": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^5.2.0",
|
||||
"webpack": "^4.29.6",
|
||||
"webpack-cli": "^3.2.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@emotion/core": "^10.0.9",
|
||||
"@emotion/styled": "^10.0.9",
|
||||
"immutable": "^3.7.6",
|
||||
"lodash": "^4.17.10",
|
||||
"netlify-cms-ui-default": "^2.0.0",
|
||||
"prop-types": "^15.5.10",
|
||||
"react": "^16.4.1",
|
||||
"lodash": "^4.17.11",
|
||||
"netlify-cms-ui-default": "^2.4.1-beta.0",
|
||||
"netlify-cms-widget-object": "^2.0.7-beta.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "^16.8.4",
|
||||
"react-immutable-proptypes": "^2.1.0"
|
||||
},
|
||||
"localExternals": [
|
||||
"netlify-cms-widget-object"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ import { jsx, css, ClassNames } from '@emotion/core';
|
||||
import { List, Map } from 'immutable';
|
||||
import { partial } from 'lodash';
|
||||
import { SortableContainer, SortableElement, SortableHandle } from 'react-sortable-hoc';
|
||||
import { ObjectControl } from 'netlify-cms-widget-object';
|
||||
import { controlComponent as ObjectControl } from 'netlify-cms-widget-object';
|
||||
import {
|
||||
TYPES_KEY,
|
||||
getTypedFieldForValue,
|
||||
|
@ -1,2 +1,4 @@
|
||||
export ListControl from './ListControl';
|
||||
export { ObjectPreview as ListPreview } from 'netlify-cms-widget-object';
|
||||
import controlComponent from './ListControl';
|
||||
import { previewComponent } from 'netlify-cms-widget-object';
|
||||
export const NetlifyCmsWidgetList = { controlComponent, previewComponent };
|
||||
export { controlComponent, previewComponent };
|
||||
|
Reference in New Issue
Block a user