2023-04-05 21:10:18 +02:00

10 lines
212 B
TypeScript

import { promises as fs } from 'node:fs'
;
(async () => {
const path = './index.html'
const file = await fs.readFile(path, 'utf-8')
await fs.writeFile(path, file.replace(/\/lib/g, '//lib'), 'utf-8')
})()