vue3-core/packages/vue-compat/src/dev.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
352 B
TypeScript
Raw Normal View History

2021-04-03 23:55:44 +08:00
import { initCustomFormatter } from '@vue/runtime-dom'
export function initDev() {
if (__BROWSER__) {
if (!__ESM_BUNDLER__) {
console.info(
`You are running a development build of Vue.\n` +
`Make sure to use the production build (*.prod.js) when deploying for production.`,
)
}
initCustomFormatter()
}
}