vdesjs / vite-plugin-monaco-editor

A vite plugin for the Monaco Editor
MIT License
206 stars 36 forks source link

Why distPath is not correct in Windows? #43

Closed qiuquanwu closed 1 year ago

qiuquanwu commented 1 year ago

image

"vite-plugin-monaco-editor": "^1.1.0",

qiuquanwu commented 1 year ago
      monacoEditorPlugin({
        languageWorkers: ['json'],
        customDistPath: (root: string, buildOutDir: string, base: string) => {
          return buildOutDir + '/' + 'monacoeditorwork'
        },
      }),