0👍
✅
It looks like you put the plugin in the wrong place. It’s supposed to be placed in configureWebpack
which represents for webpack
configuration instead:
vue.config.js
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
module.exports = {
configureWebpack: {
plugins: [
new MonacoWebpackPlugin(), // Place it here
]
},
// ...
}
Source:stackexchange.com