mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
efc0905db3
Expand `config.compiler.define` to support number and boolean primitives as well. The support is already in Turbopack's rewrite engine, as well as Webpack's DefinePlugin. We just need to modify the zod schema to actually support passing numbers and bools. Added an E2E test that should check all supported types.