a372edae48
* Default `target` in `loadConfig` instead of `next build` We should set the target from the environment variable during `loadConfig` instead of in `next build`. This ensures all other locations in Next.js that rely on `config` can read the correct value to toggle behaviors. * Use object destructuring * Add tests for builder target * Run start with serverless |
||
---|---|---|
.. | ||
lib | ||
api-utils.ts | ||
config.ts | ||
get-dynamic-import-bundles.ts | ||
get-page-files.ts | ||
load-components.ts | ||
next-server.ts | ||
normalize-page-path.ts | ||
optimize-amp.ts | ||
render.tsx | ||
require.ts | ||
router.ts | ||
send-html.ts | ||
serve-static.ts | ||
utils.ts |