mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
Add check that the editor's ESM JS files can be loaded in a browser
This commit is contained in:
10
test/monaco/esm-check/index.js
Normal file
10
test/monaco/esm-check/index.js
Normal 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'
|
||||
});
|
||||
Reference in New Issue
Block a user