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

16 lines
388 B
TypeScript

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