This commit is contained in:
3056762376@qq.com 2022-11-14 17:41:15 +08:00
parent 9f37dbcb0f
commit e3bf1068fc
1 changed files with 5 additions and 1 deletions

View File

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