Skip to content

Commit

Permalink
fix: Output paths (#62)
Browse files Browse the repository at this point in the history
* Clearer paths for output

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* Fixing server output path

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* Fix server handler path in lambda function

* comment

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
revmischa and github-actions authored Dec 22, 2022
1 parent 46d3449 commit 7d4d08a
Show file tree
Hide file tree
Showing 4 changed files with 219 additions and 25 deletions.
170 changes: 158 additions & 12 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion src/NextjsBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@ export interface NextjsBaseProps {
readonly nextjsPath: string;

/**
* The directory to execute `npm run build` from. By default, it uses `nextjsPath`.
* The directory to execute `npm run build` from. By default, it is `nextjsPath`.
* Can be overridden, particularly useful for monorepos where `build` is expected to run
* at the root of the project.
*/
readonly buildPath?: string;

/**
* Root of your project, if different from `nextjsPath`.
* Defaults to current working directory.
*/
readonly projectRoot?: string;

/**
* Custom environment variables to pass to the NextJS build and runtime.
*/
Expand Down
Loading

0 comments on commit 7d4d08a

Please sign in to comment.