e-chan1007 / nuxt-monaco-editor

Integrate monaco-editor with Nuxt
https://e-chan1007.github.io/nuxt-monaco-editor
MIT License
114 stars 15 forks source link

Plugin didn't copy sourcemap file to dist/.output folder #26

Closed witjs closed 1 year ago

witjs commented 1 year ago

[nuxt] error caught during app initialization H3Error: Page not found: /min-maps/vs/base/common/worker/simpleWorker.nls.js.map

image
e-chan1007 commented 1 year ago

I couldn't fix it by just copying sourcemaps.

From v1.2.0, the loader of monaco-editor will be rewritten based on ESM. This seems to be able to fix this issue as well.

You can try using v1.2.0-beta.2 which was released a while ago.


Duplicate to #19, this issue will be closed.