@@ -204,7 +204,7 @@ function createServerBundle(monorepoRoot: string) {
204
204
fs . rmSync ( path . join ( outputPath , packagePath , "server.js" ) , { force : true } ) ;
205
205
206
206
// Build Lambda code
207
- // note: bundle in OpenNext package b/c the adatper relys on the
207
+ // note: bundle in OpenNext package b/c the adapter relies on the
208
208
// "serverless-http" package which is not a dependency in user's
209
209
// Next.js app.
210
210
esbuildSync ( {
@@ -288,7 +288,7 @@ function createImageOptimizationBundle() {
288
288
fs . mkdirSync ( outputPath , { recursive : true } ) ;
289
289
290
290
// Build Lambda code (1st pass)
291
- // note: bundle in OpenNext package b/c the adatper relys on the
291
+ // note: bundle in OpenNext package b/c the adapter relies on the
292
292
// "@aws-sdk/client-s3" package which is not a dependency in user's
293
293
// Next.js app.
294
294
esbuildSync ( {
@@ -300,7 +300,7 @@ function createImageOptimizationBundle() {
300
300
} ) ;
301
301
302
302
// Build Lambda code (2nd pass)
303
- // note: bundle in user's Next.js app again b/c the adatper relys on the
303
+ // note: bundle in user's Next.js app again b/c the adapter relies on the
304
304
// "next" package. And the "next" package from user's app should
305
305
// be used.
306
306
esbuildSync ( {
@@ -368,7 +368,7 @@ function esbuildSync(options: BuildOptions) {
368
368
minify : process . env . OPEN_NEXT_DEBUG ? false : true ,
369
369
sourcemap : process . env . OPEN_NEXT_DEBUG ? "inline" : false ,
370
370
...options ,
371
- // "process.env.OPEN_NEXT_DEBUG" determins if the logger writes to console.log
371
+ // "process.env.OPEN_NEXT_DEBUG" determines if the logger writes to console.log
372
372
define : {
373
373
...options . define ,
374
374
"process.env.OPEN_NEXT_DEBUG" : process . env . OPEN_NEXT_DEBUG
0 commit comments