Engineering project koa-bodyparser quotation report _ _ webpack_require__ (...) Is not a function

another engineering project of the company is built with vue-electron, that is, I built a server in this project, and I made a few small interfaces with koa, but because of koa2"s post request to introduce the koa-bodyparser module, the service reported this mistake after the module was injected. Some people said that it was because of the plug-in extract-text-webpack-plugin of webpack. I have tried this method and have not solved it. Do you guys have any other solutions? or other people who have met have their own solutions, but those who have failed to share references are currently written by themselves to get data through the value of node request

.
May.20,2022
Menu