dirty fix for T7206 for preventing runtime transform Object.defineProperty in the babel-polyfill entry point
This commit is contained in:
parent
661b2d9150
commit
ca46147734
@ -12,8 +12,9 @@ import "babel-regenerator-runtime";
|
||||
|
||||
import "core-js/fn/regexp/escape";
|
||||
|
||||
let DEFINE_PROPERTY = "defineProperty";
|
||||
function define(O, key, value){
|
||||
O[key] || Object.defineProperty(O, key, {
|
||||
O[key] || Object[DEFINE_PROPERTY](O, key, {
|
||||
writable: true,
|
||||
configurable: true,
|
||||
value: value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user