Skip to content

Commit 0cc3b93

Browse files
authored
fixing the spelling of adapter, relies and determines (#108)
* fixing the spelling of adapter * addressing a few more spelling errors
1 parent f5ab15b commit 0cc3b93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/open-next/src/build.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function createServerBundle(monorepoRoot: string) {
204204
fs.rmSync(path.join(outputPath, packagePath, "server.js"), { force: true });
205205

206206
// 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
208208
// "serverless-http" package which is not a dependency in user's
209209
// Next.js app.
210210
esbuildSync({
@@ -288,7 +288,7 @@ function createImageOptimizationBundle() {
288288
fs.mkdirSync(outputPath, { recursive: true });
289289

290290
// 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
292292
// "@aws-sdk/client-s3" package which is not a dependency in user's
293293
// Next.js app.
294294
esbuildSync({
@@ -300,7 +300,7 @@ function createImageOptimizationBundle() {
300300
});
301301

302302
// 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
304304
// "next" package. And the "next" package from user's app should
305305
// be used.
306306
esbuildSync({
@@ -368,7 +368,7 @@ function esbuildSync(options: BuildOptions) {
368368
minify: process.env.OPEN_NEXT_DEBUG ? false : true,
369369
sourcemap: process.env.OPEN_NEXT_DEBUG ? "inline" : false,
370370
...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
372372
define: {
373373
...options.define,
374374
"process.env.OPEN_NEXT_DEBUG": process.env.OPEN_NEXT_DEBUG

0 commit comments

Comments
 (0)