Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wallet adapter vue #412

Merged
merged 7 commits into from
Sep 10, 2024
Merged

Conversation

ildarH
Copy link
Contributor

@ildarH ildarH commented Sep 5, 2024

Update vite.config.ts in the Vue adapter to reduce the bundle size. Also, bump the @aptos-labs/wallet-adapter-core dependency version.

@ildarH ildarH changed the title Feat wallet adapter vue Update wallet adapter vue Sep 5, 2024
Copy link
Collaborator

@0xmaayan 0xmaayan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use changeset (and not manual package version bump)

@@ -1,6 +1,6 @@
{
"name": "@aptos-labs/wallet-adapter-vue",
"version": "0.2.0",
"version": "0.2.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we use changeset, we dont manually increase package versions, but use pnpm run changeset to manage the upgrades

@@ -38,14 +43,15 @@ export default defineConfig({
input: {
main: resolve(__dirname, "src/index.ts"),
},
external: ["vue"],
external: ["vue", "@aptos-labs/wallet-adapter-core"],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does external mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to documentation it excludes vue itself and @aptos-labs/wallet-adapter-core from bundle

@0xmaayan
Copy link
Collaborator

0xmaayan commented Sep 7, 2024

@ildarH pnpm-lock.file includes changes unrelated to this PR, could you update it?

@ildarH ildarH force-pushed the feat-wallet-adapter-vue branch from e5b04e5 to cbf8165 Compare September 9, 2024 02:32
@0xmaayan 0xmaayan merged commit 3968a90 into aptos-labs:main Sep 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants