diff --git a/packages/core-js-bundle/package.json b/packages/core-js-bundle/package.json index 3e51bec3c9c3..bc6a4133d2aa 100644 --- a/packages/core-js-bundle/package.json +++ b/packages/core-js-bundle/package.json @@ -46,6 +46,6 @@ "shim" ], "scripts": { - "postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\"" + "postinstall": "node scripts/postinstall || true" } } diff --git a/packages/core-js-pure/package.json b/packages/core-js-pure/package.json index b10a822632be..d8c447de2448 100644 --- a/packages/core-js-pure/package.json +++ b/packages/core-js-pure/package.json @@ -46,6 +46,6 @@ "shim" ], "scripts": { - "postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\"" + "postinstall": "node scripts/postinstall || true" } } diff --git a/packages/core-js/package.json b/packages/core-js/package.json index 5ed01c437ab0..9e1d68bc5c40 100644 --- a/packages/core-js/package.json +++ b/packages/core-js/package.json @@ -46,6 +46,6 @@ "shim" ], "scripts": { - "postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\"" + "postinstall": "node scripts/postinstall || true" } }