Skip to content

Commit

Permalink
🔨 ensure grapher dir on bake
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Oct 20, 2023
1 parent dfd0cf7 commit d176f88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions baker/SiteBaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ export class SiteBaker {
`rsync -hav --delete ${BASE_DIR}/public/* ${this.bakedSiteDir}/ ${excludes}`
)

await fs.ensureDir(`${this.bakedSiteDir}/grapher`)
await fs.writeFile(
`${this.bakedSiteDir}/grapher/embedCharts.js`,
generateEmbedSnippet()
Expand Down

0 comments on commit d176f88

Please sign in to comment.