he wei
2024-04-15 c94f1afa786f297be86b01b49a641b2c0ad98b6e
1
2
3
4
5
6
7
8
const path = require("path");
const fs = require("fs");
 
// 把 index.html 拷贝到 public 下
fs.copyFileSync(
  path.resolve("./index.html"),
  path.resolve("./public/index.html")
);