diff --git a/package.json b/package.json index 52dd4cfc48460..cd4909f82b577 100644 --- a/package.json +++ b/package.json @@ -184,7 +184,7 @@ "worker-farm": "1.7.0" }, "scripts": { - "analyze-bundles": "WP_BUNDLE_ANALYZER=true npm run build", + "analyze-bundles": "cross-env WP_BUNDLE_ANALYZER=true npm run build", "prebuild": "npm run check-engines", "clean:packages": "rimraf \"./packages/*/@(build|build-module|build-style)\"", "clean:package-types": "tsc --build --clean",