mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
## Summary This PR is part of the initiative to consolidate Observability plugins into `x-pack/plugins/observability_solution`. This PR is strictly a move and an update in references. This was discussed and agreed upon with the Observability org in the Observability Office Hours meeting at the end of 2023. ## Related PRs: - [ ] [Move APM ](https://github.com/elastic/kibana/pull/177433) - [x] [Move Data Quality](https://github.com/elastic/kibana/pull/177456) - [x] [Move Exploratory View](https://github.com/elastic/kibana/pull/177440) - [ ] [Move Infra](https://github.com/elastic/kibana/pull/177443) - [X] Move Logs Explorer - [x] [Move Observability AI Assistant](https://github.com/elastic/kibana/pull/177427) - [ ] [Move Observability App](https://github.com/elastic/kibana/pull/177437) - [x] [Move Observability Onboarding](https://github.com/elastic/kibana/pull/177458) - [x] [Move Observability Shared](https://github.com/elastic/kibana/pull/177463) - [x] [Move Profiling](https://github.com/elastic/kibana/pull/177453) - [x] [Move Synthetics](https://github.com/elastic/kibana/pull/177464) - [ ] [Move Uptime](https://github.com/elastic/kibana/pull/177466) <-- you are here - [x] [Move UX](https://github.com/elastic/kibana/pull/177470) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
BUILD.bazel | ||
common_babel_parser_options.js | ||
common_preset.js | ||
istanbul_preset.js | ||
kibana.jsonc | ||
node_preset.js | ||
package.json | ||
README.mdx | ||
styled_components_files.js | ||
tsconfig.json | ||
webpack_preset.js |
--- id: kibDevDocsOpsBabelPreset slug: /kibana-dev-docs/ops/babel-preset title: "@kbn/babel-preset" description: A package holding the main babel configs on Kibana date: 2022-05-17 tags: ['kibana', 'dev', 'contributor', 'operations', 'babel', 'custom', 'preset'] --- This package contains the shared bits of babel config that we use for transpiling our source code to code compatible with Node.JS and the various [browsers we support](https://www.elastic.co/support/matrix#matrix_browsers). ## Usage To use those presets add either `@kbn/babel-preset/node_preset` or `@kbn/babel-preset/webpack_preset` into the babel config file. `@kbn/babel-preset/node_preset` is usually placed in a [`babel.config.js` file](https://babeljs.io/docs/en/configuration#babelconfigjs). `@kbn/babel-preset/webpack_preset` is usually placed directly in a `webpack` configuration. If you're transpiling code that will be run in both the browser and node you must transpile your code twice, once for each target. Along with the introduction of Bazel to build packages we also provide now an easier way to easily use the babel transpiler by using the `js_ts_tarnspiler` rule with our without the `web` property enabled. Take a look for example at `@kbn/i18n` to see how that can look.