mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
1b1cb3eece
Adds a `compiler.define` option to next.config.js to statically replace any variables during build-time for Turbopack. This is similar to Webpack's `DefinePlugin`. Relates to: https://github.com/vercel/next.js/discussions/71476 --------- Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
146 B
146 B