Skip to content

Commit 37154fe

Browse files
committed
Revert "bundle @atproto deps"
This reverts commit 02727c8.
1 parent 02727c8 commit 37154fe

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "at-astro",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"private": false,
55
"description": "An Astro integration for the AT Protocol, implementing OAuth flow and publishing an authenticated client to fetch and mutate records.",
66
"keywords": [

src/integration.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,13 @@ export default function createPlugin(options?: AtAstroOptions): AstroIntegration
152152
"at-astro:config": fileURLToPath(configFile),
153153
},
154154
},
155+
environments: {
156+
ssr: {
157+
optimizeDeps: {
158+
include: ["at-astro/pages/**", "at-astro > @atproto/oauth-client"],
159+
},
160+
},
161+
},
155162
},
156163
})
157164

tsdown.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,5 @@ export default defineConfig({
99
"./src/components/handle-field-element.ts",
1010
],
1111
copy: [{ from: "src/components/*.astro", to: "dist/components" }],
12-
deps: {
13-
neverBundle: ["at-astro:config"],
14-
alwaysBundle: ["@atproto/jwk-webcrypto", "@atproto/oauth-client"],
15-
},
12+
deps: { neverBundle: ["at-astro:config"] },
1613
})

0 commit comments

Comments
 (0)