@@ -28,6 +28,7 @@
// Define a new theme that constains only rules that match this language
monaco.editor.defineTheme('myCoolTheme', {
+ colors: {},
base: 'vs',
inherit: false,
rules: [
@@ -6,12 +6,6 @@
<body>
<h2>Monaco Editor Parcel Bundler Sample</h2>
- This sample shows how to load a small subset of the editor:
- <ul>
- <li>Only the core editor and the find widget</li>
- <li>Only the json language coloring</li>
- </ul>
-
To run this sample, you need to:
<pre>
@@ -3,7 +3,8 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
- "serve": "vite preview"
+ "serve": "vite preview",
+ "simpleserver": "node ../node_modules/yaserver/bin/yaserver --root ./dist --port 9999"
},
"dependencies": {},
"devDependencies": {
@@ -1,2 +1,3 @@
dist/*.js
dist/*.ttf
+dist/*.txt