From 4df1d37ddc54242c339765f22fb90ba2e9e3a99a Mon Sep 17 00:00:00 2001 From: dave caruso Date: Thu, 1 Jun 2023 21:16:47 -0400 Subject: Bundle and minify `.exports.js` files. (#3036) * move all exports.js into src/js * finalize the sort of this * and it works * add test.ts to gitignore * okay * convert some to ts just to show * finish up * fixup makefile * minify syntax in dev * finish rebase * dont minify all modules * merge * finish rebase merge * flaky test that hangs --- docs/project/development.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/project/development.md') diff --git a/docs/project/development.md b/docs/project/development.md index 8f71c234f..8d90aabac 100644 --- a/docs/project/development.md +++ b/docs/project/development.md @@ -104,13 +104,13 @@ VSCode is the recommended IDE for working on Bun, as it has been configured. Onc ## JavaScript builtins -When you change anything in `src/bun.js/builtins/js/*` or switch branches, run this: +When you change anything in `src/js/builtins/*` or switch branches, run this: ```bash $ make regenerate-bindings ``` -That inlines the JavaScript code into C++ headers using the same builtins generator script that Safari uses. +That inlines the TypeScript code into C++ headers. {% callout %} Make sure you have `ccache` installed, otherwise regeneration will take much longer than it should. -- cgit v1.2.3