mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Adopt esbuild for the esm release of monaco-css
This commit is contained in:
parent
8430c538b4
commit
70d1828179
8 changed files with 272 additions and 41 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
|
||||
|
||||
monaco.editor.create(document.getElementById('container'), {
|
||||
value: 'console.log("Hello, world")',
|
||||
language: 'javascript'
|
||||
value: 'sel {\nbackground: red;\n}',
|
||||
language: 'css'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue