I my case... this did the trick... within webpack.config.js

  devServer: {
    https: true,
    port: 3000,
    publicPath: "/dist/"
  },
  ...
  ..
  .
  plugins: [
      ...
      ..
      .
      new MonacoWebpackPlugin({
        publicPath: "/dist/"
      })
  ]

available options are documented at https://github.com/Microsoft/monaco-editor-webpack-plugin#options

Answer from Florian Eckert on Stack Overflow
🌐
GitHub
github.com › microsoft › monaco-editor-webpack-plugin
GitHub - microsoft/monaco-editor-webpack-plugin: Moved to https://github.com/microsoft/monaco-editor
Moved to https://github.com/microsoft/monaco-editor - microsoft/monaco-editor-webpack-plugin
Starred by 482 users
Forked by 97 users
🌐
npm
npmjs.com › package › monaco-editor-webpack-plugin
monaco-editor-webpack-plugin - npm
October 10, 2025 - A webpack plugin for the Monaco Editor. Latest version: 7.1.1, last published: 4 months ago. Start using monaco-editor-webpack-plugin in your project by running `npm i monaco-editor-webpack-plugin`. There are 305 other projects in the npm registry ...
      » npm install monaco-editor-webpack-plugin
    
Published   Oct 10, 2025
Version   7.1.1
Author   Microsoft Corporation
🌐
npm
npmjs.com › search
monaco-editor-webpack-plugin - npm search
Monaco Editor Wrapper for integration with react + webpack. Based on [SurenAt93/monaco-react/](https://github.com/SurenAt93/monaco-react/) but does not load from a CDN. It loads monaco via `monaco-editor-webpack-plugin` and gives installation instructions
🌐
CodeSandbox
codesandbox.io › examples › package › monaco-editor-webpack-plugin
monaco-editor-webpack-plugin examples - CodeSandbox
Use this online monaco-editor-webpack-plugin playground to view and fork monaco-editor-webpack-plugin example apps and templates on CodeSandbox.
🌐
DevGenius
blog.devgenius.io › create-a-web-editor-using-monaco-editor-react-and-node-webpack-and-typescript-how-hard-can-it-597332454a24
[Part 1] Create a web editor using Monaco editor, React and Node + Webpack and Typescript … How hard can it be? | by Nipuna Marcus | Dev Genius
June 4, 2024 - MonacoWebpackPlugin will help us load the Monaco editor with webpack. WebpackRequireFrom will help us deal with loading dynamic content which are lazy loaded during the runtime to a place that we desired.
Find elsewhere
🌐
UNPKG
unpkg.com › browse › monaco-editor-webpack-plugin@2.1.0 › README.md
monaco-editor-webpack-plugin/README.md
## Installing ```sh npm install monaco-editor-webpack-plugin ``` ## Using * `webpack.config.js`: ```js const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); const path = require('path'); module.exports = { entry: './index.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'app.js' }, module: { rules: [{ test: /\.css$/, use: ['style-loader', 'css-loader'] }, { test: /\.ttf$/, use: ['file-loader'] }] }, plugins: [ new MonacoWebpackPlugin() ] }; ``` * `index.js`: ```js import * as monaco from 'monaco-editor' // or import * as monaco from 'monaco-editor/esm/vs/editor/ed
🌐
npm
npmjs.com › package › monaco-editor-esm-webpack-plugin
monaco-editor-esm-webpack-plugin - npm
April 21, 2022 - The webpack's plugin for monaco editor to compile the worker and handle with localization. Latest version: 2.1.0, last published: 4 years ago. Start using monaco-editor-esm-webpack-plugin in your project by running `npm i monaco-editor-esm-...
      » npm install monaco-editor-esm-webpack-plugin
    
🌐
Snyk
snyk.io › advisor › monaco-editor-webpack-plugin › functions › monaco-editor-webpack-plugin
How to use the monaco-editor-webpack-plugin function in monaco-editor-webpack-plugin | Snyk
jaywcjlove / react-monacoeditor / .kktrc.js View on Github · export default (conf) => { const pkg = require(path.resolve(process.cwd(), 'package.json')); conf.plugins.push(new MonacoWebpackPlugin({ // languages: ['bat', 'coffee', 'cpp', 'csharp', 'csp', 'css', 'dockerfile', 'fsharp', 'go', 'handlebars', 'html', 'ini', 'java', 'json', 'less', 'lua', 'markdown', 'msdax', 'mysql', 'objective', 'pgsql', 'php', 'postiats', 'powershell', 'pug', 'python', 'r', 'razor', 'redis', 'redshift', 'ruby', 'sb', 'scss', 'solidity', 'sql', 'swift', 'typescript', 'vb', 'xml', 'yaml'], // features: ['accessibil
🌐
GitHub
github.com › microsoft › monaco-editor › blob › main › docs › integrate-esm.md
monaco-editor/docs/integrate-esm.md at main · microsoft/monaco-editor
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); const path = require('path'); module.exports = { entry: './index.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'app.js' }, module: { rules: [ { test: /\.css$/, use: ['style-loader', 'css-loader'] }, { test: /\.ttf$/, use: ['file-loader'] } ] }, plugins: [new MonacoWebpackPlugin()] };
Author   microsoft
🌐
npm
npmjs.com › package › @megaputer › monaco-editor-webpack-plugin
@megaputer/monaco-editor-webpack-plugin - npm
June 21, 2024 - A webpack plugin for the Monaco Editor. Latest version: 7.1.1, last published: a year ago. Start using @megaputer/monaco-editor-webpack-plugin in your project by running `npm i @megaputer/monaco-editor-webpack-plugin`. There are no other projects ...
      » npm install @megaputer/monaco-editor-webpack-plugin
    
Published   Jun 21, 2024
Version   7.1.1
Author   Microsoft Corporation
🌐
GitHub
raw.githubusercontent.com › microsoft › monaco-editor › main › docs › integrate-esm.md
https://raw.githubusercontent.com/microsoft/monaco...
- `index.js` ```js import * as monaco from 'monaco-editor'; monaco.editor.create(document.getElementById('container'), { value: ['function x() {', '\tconsole.log("Hello world!");', '}'].join('\n'), language: 'javascript' }); ``` - `webpack.config.js` ```js const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); const path = require('path'); module.exports = { entry: './index.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'app.js' }, module: { rules: [ { test: /\.css$/, use: ['style-loader', 'css-loader'] }, { test: /\.ttf$/, use: ['file-loader'] } ] }, plugins: [n
🌐
Stack Overflow
stackoverflow.com › questions › 74691679 › monaco-editor-webpack-plugin-loads-all-features
reactjs - monaco-editor-webpack-plugin loads all features - Stack Overflow
I'm using react-app-rewired in my React app, I added the plugin for Monaco Editor, and I'm trying to reduce the amount of features. I tried multiple steps, but nothing worked. This is the configura...
🌐
Snyk
snyk.io › snyk vulnerability database › npm
monaco-editor-webpack-plugin vulnerabilities | Snyk
Further analysis of the maintenance status of monaco-editor-webpack-plugin based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.
🌐
GitHub
github.com › wang12124468 › monaco-editor-esm-webpack-plugin
GitHub - wang12124468/monaco-editor-esm-webpack-plugin
npm install monaco-editor-esm-webpack-plugin --save-dev
Starred by 29 users
Forked by 3 users
Languages   JavaScript 100.0% | JavaScript 100.0%