@byline/cli 2.2.9 → 2.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -42,6 +42,7 @@ const bylineSsrNoExternal = [/^@byline\//]
|
|
|
42
42
|
// and therefore can't run through Vite's ESM module runner) must be
|
|
43
43
|
// kept external so Node resolves them at runtime instead.
|
|
44
44
|
// - sharp + @byline/storage-local — image processing (libvips)
|
|
45
|
+
// - @byline/storage-s3 — bundles the AWS SDK; keep external for Node resolution
|
|
45
46
|
// - @byline/db-postgres — depends on `pg` native bindings
|
|
46
47
|
// - @byline/admin — re-exports server-only code that imports the above
|
|
47
48
|
// - pino — CJS entrypoints don't execute under Vite's module runner
|
|
@@ -49,6 +50,7 @@ const ssrExternal = [
|
|
|
49
50
|
'sharp',
|
|
50
51
|
'pino',
|
|
51
52
|
'@byline/storage-local',
|
|
53
|
+
'@byline/storage-s3',
|
|
52
54
|
'@byline/admin',
|
|
53
55
|
'@byline/db-postgres',
|
|
54
56
|
]
|
|
@@ -177,7 +179,7 @@ const config = defineConfig({
|
|
|
177
179
|
'react-dom',
|
|
178
180
|
'pino',
|
|
179
181
|
'sharp',
|
|
180
|
-
/^@byline\/(admin|db-postgres|storage-local)/,
|
|
182
|
+
/^@byline\/(admin|db-postgres|storage-local|storage-s3)/,
|
|
181
183
|
],
|
|
182
184
|
},
|
|
183
185
|
}),
|