Skip to content

Commit

Permalink
enhancement/Issue-1118: Single File Bundles for SSR and API routes (#…
Browse files Browse the repository at this point in the history
…1186)

* Issue-1118: Refactor rollup config generation for APIs

* Issue-1118: Refactor rollup config generation for SSR

* Issue-1118: Refactor forEach to use for-in for the ssr config generation

* Issue-1118: Convert forEach to for..in

* Issue-1118: Remove unused code

* refactor away bundling work arounds and add comments

* refactor SSR page bundling to avoid hacky entry point placeholder hack

* patch custom element registry check from wcc

* refactor SSR page output name from .entry to .route

* document breaking changes for adapter plugins

* refactor import meta relative asset path escaping

* refactor API routes and adapters for mapped API bundles

* misc refactoring and docs update

* latest WCC patches

* windows compatibility

* update adapter docs example

* remove patches

---------

Co-authored-by: Owen Buckley <[email protected]>
  • Loading branch information
DevLab2425 and thescientist13 committed Jun 2, 2024
1 parent e8c2daf commit a7b464f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/cli/src/lifecycles/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ async function getHybridServer(compilation) {
} else if (isApiRoute) {
const apiRoute = manifest.apis.get(url.pathname);
const entryPointUrl = new URL(`.${apiRoute.path}`, outputDir);

let body, status, headers, statusText;

if (apiRoute.isolation || isolationMode) {
Expand Down

0 comments on commit a7b464f

Please sign in to comment.