+3
scripts/build-frontend.ts
+3
scripts/build-frontend.ts
···
91
91
const bundleFileName = `bundle.${contentHash}.js`;
92
92
const bundlePath = `static/${bundleFileName}`;
93
93
94
+
// Ensure static directory exists
95
+
await Deno.mkdir("static", { recursive: true });
96
+
94
97
// Write bundle with hashed filename
95
98
await Deno.writeFile(bundlePath, bundleOutput.contents);
96
99
static/.gitkeep
static/.gitkeep
This is a binary file and will not be displayed.