mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 00:56:01 +00:00
optimize adapter imports to deduplicate
This commit is contained in:
@@ -1 +1,2 @@
|
||||
export * from "./nextjs.adapter";
|
||||
export { registerLocalMediaAdapter } from "bknd/adapter/node";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import type { IncomingMessage, ServerResponse } from "node:http";
|
||||
import { Api, type App } from "bknd";
|
||||
import { type FrameworkBkndConfig, createFrameworkApp, nodeRequestToRequest } from "../index";
|
||||
import { type FrameworkBkndConfig, createFrameworkApp } from "bknd/adapter";
|
||||
import { nodeRequestToRequest } from "bknd/adapter/node";
|
||||
|
||||
export type NextjsBkndConfig = FrameworkBkndConfig & {
|
||||
cleanSearch?: string[];
|
||||
|
||||
Reference in New Issue
Block a user