monaco-yaml/examples/monaco-editor-webpack-plugin
Remco Haszing a959e028ce
Merge pull request #140 from remcohaszing/esm-import-extensions
Use extensions for directly importing files
2021-11-23 15:07:08 +01:00
..
editor.js Fix ESLint issues 2021-11-20 12:23:11 +01:00
index.html Add monaco-editor-webpack-plugin-example 2021-11-11 17:20:19 +01:00
index.js Remove unused eslint-disable comment 2021-11-23 15:00:08 +01:00
package.json Add monaco-editor-webpack-plugin-example 2021-11-11 17:20:19 +01:00
README.md Enhance contribution instructions 2021-11-15 18:09:40 +01:00
webpack.config.js Add monaco-editor-webpack-plugin-example 2021-11-11 17:20:19 +01:00

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.