import { vitePluginActionsBuild } from "../../../actions/vite-plugin-actions.js";
import { astroHeadBuildPlugin } from "../../../vite-plugin-head/index.js";
import { pluginAnalyzer } from "./plugin-analyzer.js";
import { pluginComponentEntry } from "./plugin-component-entry.js";
import { pluginCSS } from "./plugin-css.js";
import { pluginInternals } from "./plugin-internals.js";
import { pluginMiddleware } from "./plugin-middleware.js";
import { pluginPrerender } from "./plugin-prerender.js";
import { pluginScripts } from "./plugin-scripts.js";
import { pluginSSR } from "./plugin-ssr.js";
import { pluginChunkImports } from "./plugin-chunk-imports.js";
import { pluginNoop } from "./plugin-noop.js";
import { vitePluginSSRAssets } from "../vite-plugin-ssr-assets.js";
function getAllBuildPlugins(internals, options) {
  return [
    pluginComponentEntry(internals),
    pluginAnalyzer(internals),
    pluginInternals(options, internals),
    pluginMiddleware(options, internals),
    vitePluginActionsBuild(options, internals),
    ...pluginCSS(options, internals),
    astroHeadBuildPlugin(internals),
    pluginPrerender(options, internals),
    pluginScripts(internals),
    ...pluginSSR(options, internals),
    pluginNoop(),
    vitePluginSSRAssets(internals),
    pluginChunkImports(options)
  ].filter(Boolean);
}
export {
  getAllBuildPlugins
};
