Moves common utility functions to obtain the repository root, paths (config/data), and Kibana package.json to a @kbn/utils package. Moving these existing functions allows them to be used in production, in other packages because of Kibana. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> |
||
---|---|---|
.. | ||
scripts | ||
vendor | ||
entry.js | ||
index.d.ts | ||
index.js | ||
package.json | ||
polyfills.js | ||
public_path_loader.js | ||
public_path_module_creator.js | ||
README.md | ||
theme.ts | ||
tsconfig.json | ||
webpack.config.js | ||
yarn.lock |
@kbn/ui-shared-deps
Shared dependencies that must only have a single instance are installed and re-exported from here. To consume them, import the package and merge the externals
export into your webpack config so that all references to the supported modules will be remapped to use the global versions.