mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
30 lines
No EOL
715 B
HTML
30 lines
No EOL
715 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
|
</head>
|
|
<body>
|
|
|
|
<h2>Monaco Editor Webpack Plugin Sample</h2>
|
|
|
|
To run this sample, you need to:
|
|
|
|
<pre>
|
|
$/browser-esm-webpack-monaco-plugin> npm install
|
|
$/browser-esm-webpack-monaco-plugin> npm run start
|
|
|
|
# or to build for production
|
|
$/browser-esm-webpack-monaco-plugin> npm run build
|
|
</pre>
|
|
|
|
If you're building for production you need to statically serve the files:
|
|
|
|
<pre>
|
|
$/browser-esm-webpack-monaco-plugin> npm run build
|
|
$/browser-esm-webpack-monaco-plugin> cd dist
|
|
$/browser-esm-webpack-monaco-plugin/dist> npx static-server -p 3000 -o
|
|
</pre>
|
|
|
|
</body>
|
|
</html> |