Revision 74c809f54459d235f4d3e9b1c117f291cbf16339 authored by Joey Tawadrous on 07 October 2022, 10:39:14 UTC, committed by GitHub on 07 October 2022, 10:39:14 UTC
* Flamegraph

* Updated flame graph width/height values

* Fix top table rendering issue

* Add feature toggle for flamegraph in explore

* Update tests

* Hide flamegraph from dash panel viz list if feature toggle not enabled

* Show table if no flameGraphFrames

* Add flame graph to testdata ds

* Minor improvement
1 parent a18a3d7
Raw File
babel.config.json
{
  "babelrc": false,
  // Note: order is bottom-to-top and/or right-to-left
  "presets": [
    [
      "@babel/preset-env",
      {
        "bugfixes": true,
        "browserslistEnv": "dev",
        "useBuiltIns": "entry",
        "corejs": "3.10"
      }
    ],
    [
      "@babel/preset-typescript",
      {
        "allowNamespaces": true,
        "allowDeclareFields": true
      }
    ],
    [
      "@babel/preset-react",
      {
        "runtime": "automatic"
      }
    ]
  ],
  "plugins": [
    [
      "@babel/plugin-transform-typescript",
      {
        "allowNamespaces": true,
        "allowDeclareFields": true
      }
    ],
    // added to mitigate https://github.com/babel/babel/issues/14289
    // package (and following line) can be removed once the issue is fixed and released
    "@babel/plugin-proposal-class-properties",
    ["@babel/plugin-proposal-object-rest-spread", { "loose": true }],
    "@babel/plugin-transform-react-constant-elements",
    "@babel/plugin-proposal-nullish-coalescing-operator",
    "@babel/plugin-proposal-optional-chaining",
    "@babel/plugin-syntax-dynamic-import", // needed for `() => import()` in routes.ts
    "angularjs-annotate",
    "macros"
  ],
  "env": {
    "production": {
      "presets": [
        [
          "@babel/preset-env",
          {
            "browserslistEnv": "production"
          }
        ]
      ]
    },
    "hot": {
      "plugins": ["react-refresh/babel"]
    }
  }
}
back to top