initialize the monaco editor.
By default it will set getWorkerUrl to return
/workers/<name>.worker.js
Environment
Name
Description
Type
The base url where the editor sources are found (which contains the vs folder)
Define a global monaco
symbol.
This is true by default in AMD and false by default in ESM.
Create a trusted types policy (same API as window.trustedTypes.createPolicy)
A web worker factory.
NOTE: If getWorker
is defined,
getWorkerUrl
is not invoked.
Return the location for web worker scripts.
NOTE: If getWorker
is defined,
getWorkerUrl
is not invoked.