We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1867df commit 1ca365fCopy full SHA for 1ca365f
packages/core-base/src/translate.ts
@@ -291,7 +291,7 @@ export function translate<Messages, Message = string>(
291
return unresolving ? NOT_REOSLVED : (key as MessageType<Message>)
292
}
293
294
- if (__RUNTIME__ && isString(format) && context.messageCompiler == null) {
+ if (__DEV__ && isString(format) && context.messageCompiler == null) {
295
warn(
296
`Message format compilation is not supported in this build, because message compiler isn't included, you need to pre-compilation all message format.`
297
)
0 commit comments