This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://stackblitz.com/edit/shopify-hydrogen-z8a9cx?file=package.json&title=Hydrogen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { promises: fs } = require("fs"); | |
const path = require("path"); | |
interface FileInfo { | |
page: string; | |
lastModified: Date; | |
} | |
const pagesDir = `${process.cwd()}/src/pages/`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const master = [ | |
100, | |
[ | |
200, | |
210, | |
220, | |
230, | |
[240, 241, 242, 243, 244, 245, [2450, 2451, 2452, 2454, 2454, 2455]], | |
250 | |
], |