mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Upgrade EUI to v46.1.0 (#123652)
* eui to 46.1.0 * use optimize build * dataGridWrapper -> euiDataGridBody * remove unused dep from bazel * use column-index and row-index attrs * datagrid test fixes * prevent duplicate global styles * snapshot updates * rendering_service test * update comment * clean up Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
28eb46d4a7
commit
e84f370ef0
18 changed files with 87 additions and 40 deletions
|
@ -36,7 +36,6 @@ RUNTIME_DEPS = [
|
|||
"@npm//@elastic/numeral",
|
||||
"@npm//@emotion/react",
|
||||
"@npm//babel-loader",
|
||||
"@npm//babel-plugin-transform-react-remove-prop-types",
|
||||
"@npm//core-js",
|
||||
"@npm//css-loader",
|
||||
"@npm//fflate",
|
||||
|
|
|
@ -129,30 +129,12 @@ module.exports = (_, argv) => {
|
|||
test: /\.css$/,
|
||||
use: [MiniCssExtractPlugin.loader, 'css-loader'],
|
||||
},
|
||||
{
|
||||
test: /[\\\/]@elastic[\\\/]eui[\\\/].*\.js$/,
|
||||
use: [
|
||||
{
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
plugins: [
|
||||
[
|
||||
require.resolve('babel-plugin-transform-react-remove-prop-types'),
|
||||
{
|
||||
mode: 'remove',
|
||||
removeImport: true,
|
||||
},
|
||||
],
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
resolve: {
|
||||
alias: {
|
||||
'@elastic/eui$': '@elastic/eui/optimize/es',
|
||||
moment: MOMENT_SRC,
|
||||
// NOTE: Used to include react profiling on bundles
|
||||
// https://gist.github.com/bvaughn/25e6233aeb1b4f0cdb8d8366e54a3977#webpack-4
|
||||
|
@ -179,8 +161,8 @@ module.exports = (_, argv) => {
|
|||
new CleanWebpackPlugin({
|
||||
protectWebpackAssets: false,
|
||||
cleanAfterEveryBuildPatterns: [
|
||||
'kbn-ui-shared-deps-npm.{v7,v8}.{dark,light}.{dll.js,dll.js.map}',
|
||||
'kbn-ui-shared-deps-npm.{v7,v8}.{dark,light}-manifest.json',
|
||||
'kbn-ui-shared-deps-npm.v8.{dark,light}.{dll.js,dll.js.map}',
|
||||
'kbn-ui-shared-deps-npm.v8.{dark,light}-manifest.json',
|
||||
],
|
||||
}),
|
||||
new MiniCssExtractPlugin({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue