const {join} = require("path")

module.exports = {
  plugins: [
    ["module-resolver", {
      cwd: __dirname,
      root: ["src"],
      alias: {
        "package.json": join(__dirname, "package.json")
      }
    }],
    "@babel/transform-runtime",
    ["@babel/proposal-decorators", {
      legacy: true
    }],
    ["@babel/proposal-class-properties", {
      loose: true
    }],
    "@babel/plugin-proposal-partial-application",
    "@babel/proposal-nullish-coalescing-operator",
    "@babel/proposal-optional-catch-binding",
    "@babel/proposal-optional-chaining",
    "@babel/proposal-export-namespace-from",
    "@babel/proposal-export-default-from",
    "@babel/proposal-do-expressions",
    ["@babel/proposal-pipeline-operator", {
      proposal: "minimal"
    }],
    ["@babel/transform-modules-commonjs", {
      mjsStrictNamespace: false
    }],
  ]
}

@@ -394,15 +394,8 @@
 bel/
-plugin-
 prop

Add partial application plugin for babel.