const path=require('path')
module.exports={
mode:"development",
//指定要处理的路径
entry:path.join(__dirname,"./src/index.js"),
//输出的文件路径
output:{
//存放的目录
path:path.join(__dirname,"./dist"),
filename:"bundle.js"
}
}