Skip to content

Commit

Permalink
fix: also export runtime error strings in all cjs builds
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 26, 2023
1 parent 8e727d6 commit 38706e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38706e4

Please sign in to comment.