I took a serious look at github’s introduction (https://github.com/webpack/webpack-dev-middleware ), should be used to do server development, in memory to generate packaged js files, don’t really write to the hard disk. But I am very doubtful, how can express or koa use this generated packaged js file to reference it? ? The official website does not have an example to illustrate, and does not quite understand it.
Or is this project abandoned? What I want to achieve is to combine the webpack with express/koa in the development phase when writing the program of node server, and to update express in real time when changing the source code. What components should be used to realize this function?