Skip to content

Commit cc7ea0b

Browse files
authored
Merge pull request #524 from Shopify/bugfix/522-fix-use-of-patch-package
Added script for removing patch-package from postinstall in npm-build
2 parents bd1b27b + c807f16 commit cc7ea0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build-npm-package.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ pck.types = "lib/typescript/index.d.ts";
7575
pck.main = "lib/module/index.js";
7676
pck.module = "lib/module/index.js";
7777
pck["react-native"] = "lib/module/index.js";
78+
pck.scripts.postinstall = "node scripts/install-npm.js";
7879
console.log("Building version:", nextVersion);
7980

8081
// Overwrite the package.json file

0 commit comments

Comments
 (0)