diff --git a/build.ts b/build.ts index 222b4c77..7a35c5c2 100644 --- a/build.ts +++ b/build.ts @@ -46,7 +46,7 @@ await $`cp -r ${process.cwd()}/node_modules/.bin/prisma dist/node_modules/.bin`; await $`cp -r ${process.cwd()}/node_modules/prisma dist/node_modules/`; // Copy Sharp to dist -await $`cp -r ${process.cwd()}/node_modules/@img dist/node_modules/`; +// await $`cp -r ${process.cwd()}/node_modules/@img dist/node_modules/`; await $`cp -r ${process.cwd()}/node_modules/sharp dist/node_modules/`; // Create pages directory diff --git a/bun.lockb b/bun.lockb index 3f886810..f2f808f1 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 3f7ff857..72c381de 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "prisma-redis-middleware": "^4.8.0", "request-parser": "workspace:*", "semver": "^7.5.4", - "sharp": "^0.33.0-rc.2", + "sharp": "^0.32.6", "strip-ansi": "^7.1.0" } } diff --git a/packages/media-manager/index.ts b/packages/media-manager/index.ts index ca81b4bd..9f871534 100644 --- a/packages/media-manager/index.ts +++ b/packages/media-manager/index.ts @@ -228,3 +228,5 @@ export class S3MediaBackend extends MediaBackend { }); } } + +export { MediaConverter };