aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/builtins/js/BundlerPlugin.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-22Write out builtins with TypeScript + Minify them (#2999)Gravatar dave caruso 1-467/+0
* start work drafting how builtins will work * work on ts builtin * builtins stuff so far * builtins * done for today * continue work * working on it * bindings so far * well, it builds. doesnt run * IT RUNS * still lots of ts errors but it is functional * sloppy mode
2023-05-11oops (#2863)Gravatar dave caruso 1-1/+1
* oops * oops part 2
2023-05-11Allow reading config from within plugins, and partially implement esbuild ↵Gravatar dave caruso 1-1/+21
`initialOptions` (#2861) * Implement plugin build.config and initialOptions * update types * default initialoptions entrypoints
2023-05-08implement build api `define` and `loaders` (#2805)Gravatar dave caruso 1-0/+4
* parse error logs * clean up types * remove --jsx-production. use NODE_ENV instead * add define to js api * add loaders to js api * fixups * sourcemap * typo fix * remove label, comment dir just for now * test tweaks * test work * make optional enums actually optional. allows `sourcemap: undefined` * overload host ram test * string tests * tests * test for 2815 * requested changes * sort this list * remove this test file now that it passes * oops * add --format * finish ts tests * doc typos related to define and loader
2023-05-06[Bun.build] Add error when an `onResolve` plugin returns a `namespace` which ↵Gravatar Jarred Sumner 1-0/+7
has no loader
2023-05-06fix crash when there are lots of build errorsGravatar Jarred Sumner 1-3/+4
2023-04-29Fix plugin namespaces always being set to `"flie"`Gravatar Jarred Sumner 1-1/+1
2023-04-28bundler tests: rest of default.test.ts and starting jsx tests (#2765)Gravatar dave caruso 1-2/+18
2023-04-25now it worksGravatar Jarred Sumner 1-7/+6
2023-04-25typoGravatar Jarred Sumner 1-1/+3
2023-04-25Implement `onResolve` plugins in `Bun.build()`, support multiple onLoad and ↵Gravatar Jarred Sumner 1-0/+418
onResolve plugins (#2739) * its 2023 * WIP `onResolve` plugins * more progress * it compiles * Lots of small fixes * Seems to work excluding entry points * Update BundlerPluginBuiltins.cpp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>