update-prebuild.js
This file
Path
test/update-prebuild.js
14 lines · 249 bytes · JavaScript
Last changed by
Clean up dev dependenciesAndrey Sitnikbefore adoption261ac05
History of this fileTake it
The walk stopped after 200 commits: lines older than cdc3edc point at it.
Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 1–2why, one step back1#!/usr/bin/env node2Improve prebuild controlAndrey Sitnikbefore adoption1d6f2ff
line 3why, one step back3import { writeFile } from 'node:fs/promises'Update size limitAndrey Sitnikbefore adoptioncdc3edc
line 4why, one step back4Clean up dev dependenciesAndrey Sitnikbefore adoption261ac05
line 5why, one step back5import { BUILD_PATH, prebuild } from './prebuild.js'Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 6–7why, one step back67async function build() {Improve prebuild controlAndrey Sitnikbefore adoption1d6f2ff
lines 8–9why, one step back8 let code = await prebuild()9 await writeFile(BUILD_PATH, code)Update size limitAndrey Sitnikbefore adoptioncdc3edc
lines 10–14why, one step back10}1112build().catch(e => {13 throw e14})