aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar dave caruso <me@paperdave.net> 2023-05-12 00:25:03 -0400
committerGravatar GitHub <noreply@github.com> 2023-05-11 21:25:03 -0700
commit4381204cdb377d271f79ba7c639c105086555a1b (patch)
treeaa439b98afde9af5d561b548b5c44fd9aa827098
parent0cee7c028a4921c7bac07314513ffab5cc685bff (diff)
downloadbun-4381204cdb377d271f79ba7c639c105086555a1b.tar.gz
bun-4381204cdb377d271f79ba7c639c105086555a1b.tar.zst
bun-4381204cdb377d271f79ba7c639c105086555a1b.zip
oops (#2863)
* oops * oops part 2
-rw-r--r--src/bun.js/builtins/cpp/BundlerPluginBuiltins.cpp4
-rw-r--r--src/bun.js/builtins/js/BundlerPlugin.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bun.js/builtins/cpp/BundlerPluginBuiltins.cpp b/src/bun.js/builtins/cpp/BundlerPluginBuiltins.cpp
index f66e568a3..ec6ce4070 100644
--- a/src/bun.js/builtins/cpp/BundlerPluginBuiltins.cpp
+++ b/src/bun.js/builtins/cpp/BundlerPluginBuiltins.cpp
@@ -202,7 +202,7 @@ const char* const s_bundlerPluginRunOnResolvePluginsCode =
const JSC::ConstructAbility s_bundlerPluginRunSetupFunctionCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
const JSC::ConstructorKind s_bundlerPluginRunSetupFunctionCodeConstructorKind = JSC::ConstructorKind::None;
const JSC::ImplementationVisibility s_bundlerPluginRunSetupFunctionCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
-const int s_bundlerPluginRunSetupFunctionCodeLength = 4551;
+const int s_bundlerPluginRunSetupFunctionCodeLength = 4549;
static const JSC::Intrinsic s_bundlerPluginRunSetupFunctionCodeIntrinsic = JSC::NoIntrinsic;
const char* const s_bundlerPluginRunSetupFunctionCode =
"(function (setup, config) {\n" \
@@ -271,7 +271,7 @@ const char* const s_bundlerPluginRunSetupFunctionCode =
" @throwTypeError(\"On-dispose callbacks are not implemented yet. See https:/\\/github.com/oven-sh/bun/issues/2771\");\n" \
" }\n" \
"\n" \
- " function onDispose(callback) {\n" \
+ " function resolve(callback) {\n" \
" @throwTypeError(\"build.resolve() is not implemented yet. See https:/\\/github.com/oven-sh/bun/issues/2771\");\n" \
" }\n" \
"\n" \
diff --git a/src/bun.js/builtins/js/BundlerPlugin.js b/src/bun.js/builtins/js/BundlerPlugin.js
index 43f6e889a..344f570d0 100644
--- a/src/bun.js/builtins/js/BundlerPlugin.js
+++ b/src/bun.js/builtins/js/BundlerPlugin.js
@@ -244,7 +244,7 @@ function runSetupFunction(setup, config) {
@throwTypeError("On-dispose callbacks are not implemented yet. See https:/\/github.com/oven-sh/bun/issues/2771");
}
- function onDispose(callback) {
+ function resolve(callback) {
@throwTypeError("build.resolve() is not implemented yet. See https:/\/github.com/oven-sh/bun/issues/2771");
}