feat: provide usable UMD builds for all packages (#2141)
This commit is contained in:
committed by
Shawn Erquhart
parent
1d935c704d
commit
82cc7941cc
@ -21,19 +21,9 @@
|
||||
"develop": "npm run watch",
|
||||
"build": "cross-env NODE_ENV=production webpack"
|
||||
},
|
||||
"dependencies": {
|
||||
"netlify-cms-widget-date": "^2.1.1-beta.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^5.2.0",
|
||||
"webpack": "^4.29.6",
|
||||
"webpack-cli": "^3.2.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@emotion/core": "^10.0.9",
|
||||
"react": "^16.4.1"
|
||||
},
|
||||
"localExternals": [
|
||||
"netlify-cms-widget-date"
|
||||
]
|
||||
"netlify-cms-widget-date": "^2.1.1-beta.0",
|
||||
"react": "^16.8.4"
|
||||
}
|
||||
}
|
||||
|
@ -8,4 +8,5 @@ const Widget = (opts = {}) => ({
|
||||
...opts,
|
||||
});
|
||||
|
||||
export const NetlifyCmsWidgetDatetime = { Widget, controlComponent, previewComponent };
|
||||
export { Widget as default, controlComponent, previewComponent };
|
||||
|
Reference in New Issue
Block a user