Skip to content

Commit f9c73fa

Browse files
committed
fix(scripts): remove postinstall npm script on migrate
1 parent 79ba6f3 commit f9c73fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/migrate/migrate-4-5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function updatePackageJson() {
115115
*/
116116
function removeScripts(scripts) {
117117
/** @type {string[]} */
118-
const scriptsToRemove = ['size:umd', 'size:fesm']
118+
const scriptsToRemove = ['size:umd', 'size:fesm', 'postinstall']
119119

120120
scriptsToRemove.forEach((scriptName) => delete scripts[scriptName])
121121
}

0 commit comments

Comments
 (0)