aboutsummaryrefslogtreecommitdiff
path: root/packages/bun-framework-next/appInjector.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-09-19 04:33:58 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-09-19 04:33:58 -0700
commited9e64805feab8e84b2debf09534c7eaa23574c4 (patch)
tree8ab0d6a5b841a8e6e033edafc90c6c8ea7aec6f1 /packages/bun-framework-next/appInjector.js
parent8ca691693f9972096196b2b15b49b2ca2dfbb639 (diff)
downloadbun-ed9e64805feab8e84b2debf09534c7eaa23574c4.tar.gz
bun-ed9e64805feab8e84b2debf09534c7eaa23574c4.tar.zst
bun-ed9e64805feab8e84b2debf09534c7eaa23574c4.zip
Delete long-broken package which is causing confusion
Diffstat (limited to 'packages/bun-framework-next/appInjector.js')
-rw-r--r--packages/bun-framework-next/appInjector.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/packages/bun-framework-next/appInjector.js b/packages/bun-framework-next/appInjector.js
deleted file mode 100644
index e8bf22d21..000000000
--- a/packages/bun-framework-next/appInjector.js
+++ /dev/null
@@ -1,15 +0,0 @@
-export function maybeInjectApp(expr) {
- var app;
- try {
- const path = Bun.routesDir + "/_app";
- app = Bun.resolveSync(path, Bun.cwd + "/");
- } catch (exception) {
- return undefined;
- }
-
- return (
- <>
- <import path={app} />
- </>
- );
-}