release: WRNexusJS 0.2.76
This commit is contained in:
@@ -121,11 +121,11 @@ function resolveDevToolbarConfig(
|
||||
mode: string,
|
||||
value: ServeOptions["devToolbar"],
|
||||
): DevToolbarConfig | null {
|
||||
if (mode !== "development" || value === false) {
|
||||
if (mode !== "development" || value === false || value === undefined) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (value === true || value === undefined) {
|
||||
if (value === true) {
|
||||
return {
|
||||
enabled: true,
|
||||
position: "bottom-center",
|
||||
|
||||
Reference in New Issue
Block a user