diff --git a/packages/runtime-core/src/index.ts b/packages/runtime-core/src/index.ts index 98aee757dab..85bd92e75b0 100644 --- a/packages/runtime-core/src/index.ts +++ b/packages/runtime-core/src/index.ts @@ -140,6 +140,15 @@ export { } from './components/BaseTransition' export { initCustomFormatter } from './customFormatter' +import { ErrorTypeStrings as _ErrorTypeStrings } from './errorHandling' +/** + * Runtime error messages. Only exposed in dev or esm builds. + * @internal + */ +export const ErrorTypeStrings = ( + __ESM_BUNDLER__ || __DEV__ ? _ErrorTypeStrings : null +) as typeof _ErrorTypeStrings + // For devtools export { devtools, setDevtoolsHook } from './devtools'