You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Defines how the SSR code should be bundled when built.
861
+
* The build config option `build.split` has been replaced by the adapter configuration option [`functionPerRoute`](/en/reference/adapter-reference/#functionperroute).
862
862
*
863
-
* When `split` is `true`, Astro will emit a file for each page.
864
-
* Each file emitted will render only one page. The pages will be emitted
865
-
* inside a `dist/pages/` directory, and the emitted files will keep the same file paths
866
-
* of the `src/pages` directory.
867
-
*
868
-
* ```js
869
-
* {
870
-
* build: {
871
-
* split: true
872
-
* }
873
-
* }
874
-
* ```
863
+
* Please see your [SSR adapter's documentation](/en/guides/integrations-guide/#official-integrations) for using `functionPerRoute` to define how your SSR code is bundled.
* Defines whether or not any SSR middleware code will be bundled when built.
875
+
* The build config option `build.excludeMiddleware` has been replaced by the adapter configuration option [`edgeMiddleware`](/en/reference/adapter-reference/#edgemiddleware).
886
876
*
887
-
* When enabled, middleware code is not bundled and imported by all pages during the build. To instead execute and import middleware code manually, set `build.excludeMiddleware: true`:
888
-
*
889
-
* ```js
890
-
* {
891
-
* build: {
892
-
* excludeMiddleware: true
893
-
* }
894
-
* }
895
-
* ```
877
+
* Please see your [SSR adapter's documentation](/en/guides/integrations-guide/#official-integrations) for using `edgeMiddleware` to define whether or not any SSR middleware code will be bundled when built.
0 commit comments