mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-05-19 12:19:02 +00:00
|
|
||
|---|---|---|
| .. | ||
| editor.js | ||
| index.html | ||
| index.js | ||
| package.json | ||
| README.md | ||
| webpack.config.js | ||
Monaco Editor Webpack Loader Plugin Example
This demo demonstrates how bundle monaco-editor and monaco-yaml with
monaco-editor-webpack-plugin.
The build output is
esm library. Example is
based on
link.
To start it, simply run:
Prerequisites
Setup
To run the project locally, clone the repository and set it up:
git clone https://github.com/remcohaszing/monaco-yaml
cd monaco-yaml
npm ci
npm run prepack
Running
To start it, simply run:
npm --workspace monaco-editor-webpack-plugin-example start
The demo will open in your browser.