There is no webpack.config.js file in dva, how to introduce plugins?

I need to introduce the plug-in "monaco-editor-webpack-plugin" here, because there is no webpack.config.js, I added in .uplohogrc.js, but it doesn"t seem to work.

const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin")

module.exports = {
  "entry": "src/index.js",
  "plugins": [
    new MonacoWebpackPlugin()
  ],
  // ...
}
Is

introduced in the wrong way?

Nov.25,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdeb5f-52ab9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdeb5f-52ab9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?