Skip to content

Commit

Permalink
fix: react-native in pkg needs to to point to src (#1981)
Browse files Browse the repository at this point in the history
This is for the react native codegen

Co-authored-by: Joshua Head <[email protected]>
Co-authored-by: William Candillon <[email protected]>
  • Loading branch information
3 people authored Nov 18, 2023
1 parent 808780e commit 74911b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-npm-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pck.version = nextVersion;
pck.types = "lib/typescript/index.d.ts";
pck.main = "lib/module/index.js";
pck.module = "lib/module/index.js";
pck["react-native"] = "lib/module/index.js";
pck["react-native"] = "src/index.ts";
console.log("Building version:", nextVersion);

// Overwrite the package.json file
Expand Down

0 comments on commit 74911b8

Please sign in to comment.