fix: also export runtime error strings in all cjs builds

This commit is contained in:
Evan You 2023-12-26 16:32:53 +08:00
parent 8e727d62ab
commit 38706e4a1e
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ import { ErrorTypeStrings as _ErrorTypeStrings } from './errorHandling'
* @internal
*/
export const ErrorTypeStrings = (
__ESM_BUNDLER__ || __DEV__ ? _ErrorTypeStrings : null
__ESM_BUNDLER__ || __NODE_JS__ || __DEV__ ? _ErrorTypeStrings : null
) as typeof _ErrorTypeStrings
// For devtools