@babel/plugin-transform-member-expression-literals

    1. obj.foo = "isValid";
    1. {
    2. }
    1. require("@babel/core").transformSync("code", {
    2. });