aboutsummaryrefslogtreecommitdiff
path: root/packages/bun-plugin-server-components/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/bun-plugin-server-components/index.ts')
-rw-r--r--packages/bun-plugin-server-components/index.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/bun-plugin-server-components/index.ts b/packages/bun-plugin-server-components/index.ts
new file mode 100644
index 000000000..6c9dca94f
--- /dev/null
+++ b/packages/bun-plugin-server-components/index.ts
@@ -0,0 +1,10 @@
+import { BunPlugin, BuildConfig } from "bun";
+
+function Plugin(config: { client?: BuildConfig; ssr?: BuildConfig }): BunPlugin {
+ return {
+ name: "bun-plugin-yaml",
+ SECRET_SERVER_COMPONENTS_INTERNALS: config,
+ } as any;
+}
+
+export default Plugin;