{"version":"2.1.242","anchor":"build-constants-point-at-a-hooks-worker-script","canonical_anchor":"build-constants-point-at-a-hooks-worker-script","heading":"Build constants point at a hooks worker script","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/build-constants-point-at-a-hooks-worker-script","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Build constants point at a hooks worker script\n\nBuild metadata now points at a bundled worker script, so plugin function hooks can run separately.\n\n**What**\n\nThe metadata block carrying the version, build time and commit now also carries a path to a bundled worker script for plugin function hooks, present in every copy across the bundle, meaning hooks can run in their own entry point rather than inline.\n\n**Evidence**\n\n`\"\/$bunfs\/root\/src\/plugins\/functionHooks\/hooks-worker\/hooks-worker.js\"`\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 4\/5"}