In my Angular app, I would like to use the library CodeMirror inside a Lazily Loaded module.

The trouble I am having is that the [CodeMirror documentation](https://github.com/scttcper/ngx-codemirror#use) tell me to

> 
> In your main.ts or at the root of your application, see documentation:
> 
> 
> `import 'codemirror/mode/javascript/javascript';`
> `import 'codemirror/mode/markdown/markdown';`
> 
> 
> 

> 
> Import the base css file and your
> theme
> 
> 
> `@import '~codemirror/lib/codemirror'; @import '~codemirror/theme/material';`
> 
> 
> 

However I would prefer this code **NOT** be imported throughout my app since it is only used by one lazy module.

What can I do so that this is imported correctly only when needed?