{
  "presets": [
    "./scripts/material-ui-babel-preset",
    ["@babel/preset-stage-1", { "loose": true }],
    "@babel/preset-react",
    "@babel/flow"
  ],
  "plugins": [
    "@babel/plugin-transform-object-assign",
    ["@babel/transform-runtime", { "polyfill": false, "useBuiltIns": true }]
  ],
  "env": {
    "coverage": {
      "plugins": [
        "istanbul",
        [
          "module-resolver",
          {
            "root": ["./"],
            "alias": {
              "@material-ui/core": "./packages/material-ui/src",
              "@material-ui/icons": "./packages/material-ui-icons/src"
            }
          }
        ]
      ]
    },
    "development": {
      "sourceMaps": "both"
    },
    "docs-development": {
      "plugins": [
        "./scripts/material-ui-babel-preval",
        [
          "module-resolver",
          {
            "alias": {
              "@material-ui/core": "./packages/material-ui/src",
              "@material-ui/docs": "./packages/material-ui-docs/src",
              "@material-ui/icons": "./packages/material-ui-icons/src",
              "@material-ui/lab": "./packages/material-ui-lab/src",
              "docs": "./docs",
              "pages": "./pages"
            }
          }
        ]
      ]
    },
    "docs-production": {
      "plugins": [
        "./scripts/material-ui-babel-preval",
        [
          "module-resolver",
          {
            "alias": {
              "@material-ui/core": "./packages/material-ui/src",
              "@material-ui/docs": "./packages/material-ui-docs/src",
              "@material-ui/icons": "./packages/material-ui-icons/src",
              "@material-ui/lab": "./packages/material-ui-lab/src",
              "docs": "./docs",
              "pages": "./pages"
            }
          }
        ],
        "transform-react-constant-elements",
        "transform-dev-warning",
        ["react-remove-properties", { "properties": ["data-mui-test"] }],
        ["transform-react-remove-prop-types", { "mode": "remove" }]
      ]
    },
    "es": {
      "plugins": [
        "transform-react-constant-elements",
        "transform-dev-warning",
        ["react-remove-properties", { "properties": ["data-mui-test"] }],
        [
          "transform-react-remove-prop-types",
          {
            "mode": "wrap"
          }
        ]
      ],
      "ignore": ["**/*.test*"]
    },
    "production": {
      "plugins": [
        "transform-react-constant-elements",
        "transform-dev-warning",
        ["react-remove-properties", { "properties": ["data-mui-test"] }],
        [
          "transform-react-remove-prop-types",
          {
            "mode": "wrap"
          }
        ]
      ],
      "ignore": ["**/*.test*"]
    },
    "production-umd": {
      "plugins": [
        "transform-react-constant-elements",
        "transform-dev-warning",
        ["react-remove-properties", { "properties": ["data-mui-test"] }],
        [
          "transform-react-remove-prop-types",
          {
            "mode": "wrap"
          }
        ]
      ]
    },
    "test": {
      "sourceMaps": "both",
      "plugins": [
        [
          "module-resolver",
          {
            "root": ["./"],
            "alias": {
              "@material-ui/core": "./packages/material-ui/src",
              "@material-ui/icons": "./packages/material-ui-icons/src"
            }
          }
        ]
      ]
    }
  },
  "ignore": ["scripts/material-ui-babel-preset.js", "scripts/*.js"]
}
