mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Add io-ts in kb-ui-shared-bundle (#159792)
This commit is contained in:
parent
31b34771c5
commit
439d00a7b7
4 changed files with 5 additions and 0 deletions
|
@ -59,6 +59,7 @@ RUNTIME_DEPS = [
|
|||
"@npm//styled-components",
|
||||
"@npm//tslib",
|
||||
"@npm//uuid",
|
||||
"@npm//io-ts",
|
||||
]
|
||||
|
||||
webpack_cli(
|
||||
|
|
|
@ -88,6 +88,7 @@ module.exports = (_, argv) => {
|
|||
'classnames',
|
||||
'fflate',
|
||||
'history',
|
||||
'io-ts',
|
||||
'jquery',
|
||||
'lodash',
|
||||
'lodash/fp',
|
||||
|
|
|
@ -55,6 +55,7 @@ const externals = {
|
|||
'@kbn/monaco': '__kbnSharedDeps__.KbnMonaco',
|
||||
// this is how plugins/consumers from npm load monaco
|
||||
'monaco-editor/esm/vs/editor/editor.api': '__kbnSharedDeps__.MonacoBarePluginApi',
|
||||
'io-ts': '__kbnSharedDeps__.IoTs',
|
||||
|
||||
/**
|
||||
* big deps which are locked to a single version
|
||||
|
|
|
@ -21,6 +21,8 @@ export const EmotionCache = require('@emotion/cache');
|
|||
export const EmotionReact = require('@emotion/react');
|
||||
export const Moment = require('moment');
|
||||
export const MomentTimezone = require('moment-timezone/moment-timezone');
|
||||
|
||||
export const IoTs = require('io-ts');
|
||||
export const KbnMonaco = require('@kbn/monaco');
|
||||
export const MonacoBarePluginApi = require('@kbn/monaco').BarePluginApi;
|
||||
export const React = require('react');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue