Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
khuezy committed Dec 14, 2022
1 parent 50de1f0 commit a1d3ea8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions API.md

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

2 changes: 1 addition & 1 deletion src/NextjsBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class NextjsBuild extends Construct {
...(this.props.nodeEnv ? { NODE_ENV: this.props.nodeEnv } : {}),
};

const buildPath = this.props.buildPath ?? nextjsPath
const buildPath = this.props.buildPath ?? nextjsPath;
// run build
console.debug('├ Running "npm build" in', buildPath);
const buildResult = spawn.sync('npm', ['run', 'build'], {
Expand Down

0 comments on commit a1d3ea8

Please sign in to comment.