8000 style(format): eslint run on rebased main · opennextjs/opennextjs-aws@9b06bf6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b06bf6

Browse files
committed
style(format): eslint run on rebased main
1 parent ed47f13 commit 9b06bf6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

packages/open-next/src/build.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,15 @@ function createImageOptimizationBundle() {
289289
// Sharp provides pre-build binaries for all platforms. https://github.com/lovell/sharp/blob/main/docs/install.md#cross-platform
290290
// Target should be same as used by Lambda, see https://github.com/sst/sst/blob/ca6f763fdfddd099ce2260202d0ce48c72e211ea/packages/sst/src/constructs/NextjsSite.ts#L114
291291
// For SHARP_IGNORE_GLOBAL_LIBVIPS see: https://github.com/lovell/sharp/blob/main/docs/install.md#aws-lambda
292-
cp.execSync(`SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install --arch=arm64 --platform=linux --target=18 --libc=glibc --prefix=${path.resolve(outputPath)} sharp@0.32.5`, {
293-
stdio: "inherit",
294-
cwd: appPath
295-
})
292+
cp.execSync(
293+
`SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install --arch=arm64 --platform=linux --target=18 --libc=glibc --prefix=${path.resolve(
294+
outputPath,
295+
)} sharp@0.32.5`,
296+
{
297+
stdio: "inherit",
298+
cwd: appPath,
299+
},
300+
);
296301
}
297302

298303
function createStaticAssets() {

0 commit comments

Comments
 (0)
0