* Move inspector adapter integration into search source * docs and ts * Move other bucket to search source * test ts + delete unused tabilfy function * hierarchical param in aggconfig. ts improvements more inspector tests * fix jest * separate inspect more tests * jest * inspector * Error handling and more tests * put the fun in functional tests * delete client side legacy msearch code * ts * override to sync search in search source * delete more legacy code * ts * delete moarrrr * deflate bfetch chunks * update tests use only zlib * ts * extract getInflatedResponse * tests * Use fflate in attempt to reduce package size * use node streams, fflate and hex encoding. * DISABLE_SEARCH_COMPRESSION UI Settings Use base64 and async compression * i18n * Code review Use custom header for compression Promisify once * use custom headers * Update jest * fix tests * code review, baby! * integration * tests * limit * limit * limit Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
66 lines
3 KiB
JavaScript
66 lines
3 KiB
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
const Path = require('path');
|
|
|
|
exports.distDir = Path.resolve(__dirname, 'target');
|
|
exports.jsDepFilenames = ['kbn-ui-shared-deps.@elastic.js'];
|
|
exports.jsFilename = 'kbn-ui-shared-deps.js';
|
|
exports.baseCssDistFilename = 'kbn-ui-shared-deps.css';
|
|
exports.lightCssDistFilename = 'kbn-ui-shared-deps.v7.light.css';
|
|
exports.lightV8CssDistFilename = 'kbn-ui-shared-deps.v8.light.css';
|
|
exports.darkCssDistFilename = 'kbn-ui-shared-deps.v7.dark.css';
|
|
exports.darkV8CssDistFilename = 'kbn-ui-shared-deps.v8.dark.css';
|
|
exports.externals = {
|
|
// stateful deps
|
|
angular: '__kbnSharedDeps__.Angular',
|
|
'@kbn/i18n': '__kbnSharedDeps__.KbnI18n',
|
|
'@kbn/i18n/angular': '__kbnSharedDeps__.KbnI18nAngular',
|
|
'@kbn/i18n/react': '__kbnSharedDeps__.KbnI18nReact',
|
|
jquery: '__kbnSharedDeps__.Jquery',
|
|
moment: '__kbnSharedDeps__.Moment',
|
|
'moment-timezone': '__kbnSharedDeps__.MomentTimezone',
|
|
react: '__kbnSharedDeps__.React',
|
|
'react-dom': '__kbnSharedDeps__.ReactDom',
|
|
'react-dom/server': '__kbnSharedDeps__.ReactDomServer',
|
|
'react-router': '__kbnSharedDeps__.ReactRouter',
|
|
'react-router-dom': '__kbnSharedDeps__.ReactRouterDom',
|
|
'styled-components': '__kbnSharedDeps__.StyledComponents',
|
|
'@kbn/monaco': '__kbnSharedDeps__.KbnMonaco',
|
|
'@kbn/ui-shared-deps/theme': '__kbnSharedDeps__.Theme',
|
|
// this is how plugins/consumers from npm load monaco
|
|
'monaco-editor/esm/vs/editor/editor.api': '__kbnSharedDeps__.MonacoBarePluginApi',
|
|
|
|
/**
|
|
* big deps which are locked to a single version
|
|
*/
|
|
rxjs: '__kbnSharedDeps__.Rxjs',
|
|
'rxjs/operators': '__kbnSharedDeps__.RxjsOperators',
|
|
numeral: '__kbnSharedDeps__.ElasticNumeral',
|
|
'@elastic/numeral': '__kbnSharedDeps__.ElasticNumeral',
|
|
'@elastic/charts': '__kbnSharedDeps__.ElasticCharts',
|
|
'@elastic/eui': '__kbnSharedDeps__.ElasticEui',
|
|
'@elastic/eui/lib/services': '__kbnSharedDeps__.ElasticEuiLibServices',
|
|
'@elastic/eui/lib/services/format': '__kbnSharedDeps__.ElasticEuiLibServicesFormat',
|
|
'@elastic/eui/dist/eui_charts_theme': '__kbnSharedDeps__.ElasticEuiChartsTheme',
|
|
'@elastic/eui/dist/eui_theme_light.json': '__kbnSharedDeps__.Theme.euiLightVars',
|
|
'@elastic/eui/dist/eui_theme_dark.json': '__kbnSharedDeps__.Theme.euiDarkVars',
|
|
lodash: '__kbnSharedDeps__.Lodash',
|
|
'lodash/fp': '__kbnSharedDeps__.LodashFp',
|
|
fflate: '__kbnSharedDeps__.Fflate',
|
|
|
|
/**
|
|
* runtime deps which don't need to be copied across all bundles
|
|
*/
|
|
tslib: '__kbnSharedDeps__.TsLib',
|
|
'@kbn/analytics': '__kbnSharedDeps__.KbnAnalytics',
|
|
'@kbn/std': '__kbnSharedDeps__.KbnStd',
|
|
'@elastic/safer-lodash-set': '__kbnSharedDeps__.SaferLodashSet',
|
|
'rison-node': '__kbnSharedDeps__.RisonNode',
|
|
};
|
|
exports.publicPathLoader = require.resolve('./public_path_loader');
|