Closed erguotou520 closed 10 months ago
In the docs, the following init script will throw error as options is undefined
options
import { defineConfig } from 'vite'; import monacoEditorPlugin from 'vite-plugin-monaco-editor'; export default defineConfig({ plugins: [monacoEditorPlugin()], });
This pr fix this case.
The other problem is \\/\\/ will write as // in the page which will make the regex as error in <script>. This pr fix this case.
\\/\\/
//
<script>
In the docs, the following init script will throw error as
options
is undefinedThis pr fix this case.
The other problem is
\\/\\/
will write as//
in the page which will make the regex as error in<script>
. This pr fix this case.