pug update to match data

This commit is contained in:
2026-03-01 10:10:41 +10:00
parent f17768bb8e
commit e64b644b33
5 changed files with 70 additions and 327 deletions

View File

@@ -59,11 +59,28 @@ module.exports = {
onStart: {
delete: ["dist"],
},
onEnd: {
copy: [
{
source: path.join(__dirname, "src", "pages", "table", "*.js"),
destination: path.join(__dirname, "dist", "table"),
},
],
},
},
}),
],
devServer: {
watchFiles: path.join(__dirname, "src"),
port: 9000,
static: [
{
directory: path.join(__dirname, "dist"),
},
{
directory: path.join(__dirname, "src", "pages"),
publicPath: "/",
},
],
},
};