Add check that the editor's ESM JS files can be loaded in a browser

This commit is contained in:
Alex Dima
2022-01-25 15:19:30 +01:00
parent 2a3b916cc0
commit bd369c638e
9 changed files with 186 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as monaco from './out/vs/editor/editor.main.js';
monaco.editor.create(document.getElementById('container'), {
value: 'Hello world'
});