diff --git a/.changeset/stupid-cougars-warn.md b/.changeset/stupid-cougars-warn.md new file mode 100644 index 000000000000..69ba11c06f0c --- /dev/null +++ b/.changeset/stupid-cougars-warn.md @@ -0,0 +1,5 @@ +--- +'@astrojs/image': patch +--- + +Bugfix: fixing a bug that broke builds in NPM workspaces diff --git a/packages/integrations/image/src/index.ts b/packages/integrations/image/src/index.ts index 32cfa7bf91c3..6d59e3e98440 100644 --- a/packages/integrations/image/src/index.ts +++ b/packages/integrations/image/src/index.ts @@ -78,6 +78,9 @@ const createIntegration = (options: IntegrationOptions = {}): AstroIntegration = optimizeDeps: { include: ['image-size', 'sharp'], }, + ssr: { + noExternal: ['@astrojs/image'] + } }; }