diff options
| author | 2023-06-03 19:38:33 -0400 | |
|---|---|---|
| committer | 2023-06-03 16:38:33 -0700 | |
| commit | 7d8b6d487b6570de664a07a24b70efb2970d49e1 (patch) | |
| tree | d39b561f29776dbfb80a3e6e0419b736a38bcee8 /src | |
| parent | 583c6d3644066b9022d9670dc81bca874af014dd (diff) | |
| download | bun-7d8b6d487b6570de664a07a24b70efb2970d49e1.tar.gz bun-7d8b6d487b6570de664a07a24b70efb2970d49e1.tar.zst bun-7d8b6d487b6570de664a07a24b70efb2970d49e1.zip | |
make hardcoded -> make esm + document needing bun to build bun (#3188)
Diffstat (limited to '')
| -rw-r--r-- | src/js/README.md | 2 | ||||
| -rw-r--r-- | src/js/build-esm.ts (renamed from src/js/build-hardcoded.ts) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/js/README.md b/src/js/README.md index 2f7eb45cf..c5f75eeec 100644 --- a/src/js/README.md +++ b/src/js/README.md @@ -7,7 +7,7 @@ When you change any of those folders, run this to bundle and minify them: ```bash -$ make hardcoded +$ make esm ``` These modules are bundled into the binary, but in debug mode they are loaded from the filesystem, so you do not need to rerun `make dev`. If you want to override the modules in a release build, you can set `BUN_OVERRIDE_MODULE_PATH` to the path to the repo: diff --git a/src/js/build-hardcoded.ts b/src/js/build-esm.ts index 2895fb6bb..b3ece01a1 100644 --- a/src/js/build-hardcoded.ts +++ b/src/js/build-esm.ts @@ -110,4 +110,4 @@ for (const [build, outdir] of [ } } -console.log(`Bundled hardcoded modules in ${performance.now().toFixed(2)}ms`); +console.log(`Bundled esm modules in ${performance.now().toFixed(2)}ms`); |
