const path=require("path")//导入path全局包
module.exports={
entry:"./src/index.js",
output:{
path:path.resolve(__dirname,"dist"),
filename:"result.js",
}