feat: provide usable UMD builds for all packages (#2141)
This commit is contained in:
committed by
Shawn Erquhart
parent
1d935c704d
commit
82cc7941cc
@ -25,18 +25,13 @@
|
||||
"common-tags": "^1.8.0",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
"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",
|
||||
"netlify-cms-ui-default": "^2.0.0",
|
||||
"prop-types": "^15.5.10",
|
||||
"react": "^16.4.1",
|
||||
"netlify-cms-ui-default": "^2.4.1-beta.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "^16.8.4",
|
||||
"react-immutable-proptypes": "^2.1.0"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
import withFileControl from './withFileControl';
|
||||
import previewComponent from './FilePreview';
|
||||
|
||||
export { withFileControl };
|
||||
export const FileControl = withFileControl();
|
||||
export FilePreview from './FilePreview';
|
||||
const controlComponent = withFileControl();
|
||||
export const NetlifyCmsWidgetFile = { controlComponent, previewComponent, withFileControl };
|
||||
export { controlComponent, previewComponent, withFileControl };
|
||||
|
Reference in New Issue
Block a user