my problem now is that this index needs to be used on the background Tomcat
, but the js files and static files needed for this index are all in the dist (webpack packaged directory
so if I want to compile the files in src now, how can they be compiled into dist files in real time?
it is impossible to npm run build a little bit of code. Isn"t that too much trouble? Do you need to configure something when compiling?
what I want now is that when I start the eclipse, I can modify the files in the src and the js in the dist directory can also be changed in real time.
I hope someone who has studied can give me a method.