Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
add browser field to use cjs build in browsers
Browse files Browse the repository at this point in the history
temporary workaround to make it less annoying than having to include

`@babel/plugin-proposal-class-properties` (https://git.io/vb4SL)

with webpack builds
  • Loading branch information
johnrees committed Jan 21, 2022
1 parent b5e2198 commit 8c109da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/governance-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"homepage": "https://github.com/solana-labs/oyster/blob/main/packages/governance-sdk/README.md",
"license": "MIT",
"main": "lib/cjs/index.js",
"browser": "lib/cjs/index.js",
"module": "lib/mjs/index.js",
"types": "lib/mjs/index.d.ts",
"source": "src/index.ts",
Expand Down

0 comments on commit 8c109da

Please sign in to comment.