Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than cdc3edc point at it.

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 1–2why, one step back
1#!/usr/bin/env node
2

Improve prebuild controlAndrey Sitnikbefore adoption1d6f2ff

line 3why, one step back
3import { writeFile } from 'node:fs/promises'

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 4why, one step back
4

Clean up dev dependenciesAndrey Sitnikbefore adoption261ac05

line 5why, one step back
5import { BUILD_PATH, prebuild } from './prebuild.js'

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 6–7why, one step back
6
7async function build() {

Improve prebuild controlAndrey Sitnikbefore adoption1d6f2ff

lines 8–9why, one step back
8 let code = await prebuild()
9 await writeFile(BUILD_PATH, code)

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 10–14why, one step back
10}
1112build().catch(e => {13 throw e14})