Currently, I have set up a Vite 2 project with monaco-editor as a dependency.
monaco-editor
Whenever I am trying to use it says that the workers are not imported.