./dist/js,路径显示有误!加了 _dirname后没有报错了,显示打包成功!但是dist文件夹内不会生成js文件夹
absolute path
outpath:{
path:require("path").resolve(__dirname,"dist/js")
}