Use process.env.__NEXT_VERSION consistently in packages/next/src
Replace all require('next/package.json').version and import { version }
from 'next/package.json' usages with process.env.__NEXT_VERSION, which
is inlined at build time by taskfile-swc.js.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment