Add @babel/core support for the new assumptions option (#12219)
- Disallow setting assumptions to `false` in presets (#12498)
This commit is contained in:
@@ -26,6 +26,9 @@ const apiPolyfills = {
|
||||
targets: () => () => {
|
||||
return {};
|
||||
},
|
||||
// This is supported starting from Babel 7.13
|
||||
// TODO(Babel 8): Remove this polyfill
|
||||
assumption: () => () => {},
|
||||
};
|
||||
|
||||
function copyApiObject(api) {
|
||||
|
||||
Reference in New Issue
Block a user