import { redwood } from "rwsdk/vite";
import { getDefaultConfigPath } from "../miniflare/paths.js";
import alchemyVite from "../vite/plugin.js";
const alchemyRedwood = (options) => {
    const configPath = options?.configPath ?? getDefaultConfigPath();
    return [
        redwood({
            ...options,
            configPath,
            includeCloudflarePlugin: false,
        }),
        alchemyVite({
            configPath,
            viteEnvironment: { name: "worker" },
        }),
    ];
};
export default alchemyRedwood;
//# sourceMappingURL=plugin.js.map