feat: provide usable UMD builds for all packages (#2141)
This commit is contained in:
committed by
Shawn Erquhart
parent
1d935c704d
commit
82cc7941cc
@ -1,4 +1,6 @@
|
||||
import { withFileControl } from 'netlify-cms-widget-file';
|
||||
|
||||
export const ImageControl = withFileControl({ forImage: true });
|
||||
export ImagePreview from './ImagePreview';
|
||||
const controlComponent = withFileControl({ forImage: true });
|
||||
import previewComponent from './ImagePreview';
|
||||
export const NetlifyCmsWidgetImage = { controlComponent, previewComponent };
|
||||
export { controlComponent, previewComponent };
|
||||
|
Reference in New Issue
Block a user