Adopt esbuild for the esm release of monaco-css

This commit is contained in:
Alex Dima 2021-11-11 21:52:33 +01:00
parent 8430c538b4
commit 70d1828179
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
8 changed files with 272 additions and 41 deletions

View file

@ -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'
});