Dont Load the Worker/languages directly in the Monaco it just consume RAM and CPU, use WebWorker or lazy Loading
Means Load only those languages which are required not the whole things at the startup
Line 1 - 19
Also i saw in the code that u added some custom Go to Line Things
If u know monaco provide same command Pallate Just Like Vscode ,
Dont Load the Worker/languages directly in the Monaco it just consume RAM and CPU, use WebWorker or lazy Loading
Means Load only those languages which are required not the whole things at the startup
Line 1 - 19
Also i saw in the code that u added some custom Go to Line Things
If u know monaco provide same command Pallate Just Like Vscode ,