mirror of
https://codeberg.org/timelimit/timelimit-server-ui.git
synced 2025-10-03 01:09:15 +02:00
10 lines
235 B
JavaScript
10 lines
235 B
JavaScript
import { readFileSync, writeFileSync } from 'fs'
|
|
|
|
const htmlFilePath = new URL('dist/index.html', import.meta.url)
|
|
|
|
writeFileSync(
|
|
htmlFilePath,
|
|
readFileSync(htmlFilePath)
|
|
.toString('utf8')
|
|
.replace(' type="module"', '')
|
|
)
|