What is exported is the whole of the packages as a `*` import (within typescript).
For example, the following is how you would specify these within your webpack configuration files.
```json
{
...
"externals":[
...
{
"mobx":"var global.Mobx"
"mobx-react":"var global.MobxReact"
"react":"var global.React"
"react-router":"var global.ReactRouter"
"react-router-dom":"var global.ReactRouterDom"
"react-dom":"var global.ReactDOM"
}
]
}
```
## Extension Entry Files
Lens extensions can have two separate entry files.
...
...
@@ -95,20 +132,20 @@ The `Cluster Page` object registers the `/extension-example` path, and this path
It also registers the `MenuItem` component that displays the `ExampleIcon` React component and the "Hello World" text in the left-side menu of the cluster dashboard.
These React components are defined in the additional `./src/page.tsx` file.