mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-27 21:01:03 +08:00
fix: disable source maps in RDE dashboard build (#1611)
This commit is contained in:
parent
7955ef2450
commit
010c114c49
@ -70,8 +70,9 @@ const nextConfig = {
|
||||
|
||||
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
|
||||
|
||||
// we're open-source, so we can provide source maps
|
||||
productionBrowserSourceMaps: true,
|
||||
// we're open-source, so we can provide source maps — but skip them for
|
||||
// RDE standalone builds where they just take up space for no reason
|
||||
productionBrowserSourceMaps: process.env.NEXT_CONFIG_OUTPUT !== "standalone",
|
||||
|
||||
poweredByHeader: false,
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user