mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 05:52:52 +08:00
Chore: Remove core-js polyfills (#78715)
This commit is contained in:
@ -51,6 +51,7 @@ var config = {
|
|||||||
useIncognitoBrowserContext: false,
|
useIncognitoBrowserContext: false,
|
||||||
standard: 'WCAG2AA',
|
standard: 'WCAG2AA',
|
||||||
chromeLaunchConfig: {
|
chromeLaunchConfig: {
|
||||||
|
executablePath: '/usr/bin/google-chrome',
|
||||||
args: ['--no-sandbox'],
|
args: ['--no-sandbox'],
|
||||||
},
|
},
|
||||||
// see https://github.com/grafana/grafana/pull/41693#issuecomment-979921463 for context
|
// see https://github.com/grafana/grafana/pull/41693#issuecomment-979921463 for context
|
||||||
|
@ -6,9 +6,7 @@
|
|||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
{
|
{
|
||||||
"bugfixes": true,
|
"bugfixes": true,
|
||||||
"browserslistEnv": "dev",
|
"browserslistEnv": "dev"
|
||||||
"useBuiltIns": "entry",
|
|
||||||
"corejs": "3.10"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -165,6 +165,7 @@
|
|||||||
"chrome-remote-interface": "0.33.0",
|
"chrome-remote-interface": "0.33.0",
|
||||||
"codeowners": "^5.1.1",
|
"codeowners": "^5.1.1",
|
||||||
"copy-webpack-plugin": "11.0.0",
|
"copy-webpack-plugin": "11.0.0",
|
||||||
|
"core-js": "3.33.0",
|
||||||
"css-loader": "6.8.1",
|
"css-loader": "6.8.1",
|
||||||
"css-minimizer-webpack-plugin": "5.0.1",
|
"css-minimizer-webpack-plugin": "5.0.1",
|
||||||
"cypress": "13.1.0",
|
"cypress": "13.1.0",
|
||||||
@ -309,7 +310,6 @@
|
|||||||
"combokeys": "^3.0.0",
|
"combokeys": "^3.0.0",
|
||||||
"comlink": "4.4.1",
|
"comlink": "4.4.1",
|
||||||
"common-tags": "1.8.2",
|
"common-tags": "1.8.2",
|
||||||
"core-js": "3.33.0",
|
|
||||||
"d3": "7.8.5",
|
"d3": "7.8.5",
|
||||||
"d3-force": "3.0.0",
|
"d3-force": "3.0.0",
|
||||||
"d3-scale-chromatic": "3.0.0",
|
"d3-scale-chromatic": "3.0.0",
|
||||||
|
@ -66,7 +66,6 @@
|
|||||||
"ansicolor": "1.1.100",
|
"ansicolor": "1.1.100",
|
||||||
"calculate-size": "1.1.1",
|
"calculate-size": "1.1.1",
|
||||||
"classnames": "2.3.2",
|
"classnames": "2.3.2",
|
||||||
"core-js": "3.33.0",
|
|
||||||
"d3": "7.8.5",
|
"d3": "7.8.5",
|
||||||
"date-fns": "2.30.0",
|
"date-fns": "2.30.0",
|
||||||
"hoist-non-react-statics": "3.3.2",
|
"hoist-non-react-statics": "3.3.2",
|
||||||
@ -164,6 +163,7 @@
|
|||||||
"@types/tinycolor2": "1.4.3",
|
"@types/tinycolor2": "1.4.3",
|
||||||
"@types/uuid": "9.0.2",
|
"@types/uuid": "9.0.2",
|
||||||
"common-tags": "1.8.2",
|
"common-tags": "1.8.2",
|
||||||
|
"core-js": "3.33.0",
|
||||||
"css-loader": "6.8.1",
|
"css-loader": "6.8.1",
|
||||||
"csstype": "3.1.2",
|
"csstype": "3.1.2",
|
||||||
"esbuild": "0.18.12",
|
"esbuild": "0.18.12",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import 'symbol-observable';
|
import 'symbol-observable';
|
||||||
import 'core-js';
|
|
||||||
import 'regenerator-runtime/runtime';
|
import 'regenerator-runtime/runtime';
|
||||||
|
|
||||||
import 'whatwg-fetch'; // fetch polyfill needed for PhantomJs rendering
|
import 'whatwg-fetch'; // fetch polyfill needed for PhantomJs rendering
|
||||||
|
Reference in New Issue
Block a user