Kibana 7.2.0 source code import path problem

I am studying Kibana source code.
I encounter a confusing problem about import path problem.
the source file link is
import { management, SidebarNav, MANAGEMENT_BREADCRUMB } from 'ui/management';

But I can find the ui folder in the relative path and the node_modules folder.

Hi @tony21177,

The ui/* is just an alias to another folder, e.g. see here where it points to.


I find ui_export_defaults.js

line 30

does the import has to do with the webpack alias setting?

By the way, I look up from the webpack documents for import path explanation of Webpack

Thank you so much!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.