UNPKG

webgpu

Version:
15 lines (10 loc) 287 B
import fs from 'node:fs'; function fixupGitignore() { const s = fs.readFileSync('.gitignore', {encoding: 'utf8'}); const newS = s.replace(/# --cut-here--[\s\S]*?# --cut-here--/, ''); fs.writeFileSync('.gitignore', newS); } async function main() { fixupGitignore(); } main();