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

16 lines
380 B
TypeScript
Raw Normal View History

import { initCustomFormatter } from '@vue/runtime-dom'
2020-07-17 06:18:52 +08:00
export function initDev() {
if (__BROWSER__) {
/* istanbul ignore if */
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.`
)
}
2020-10-13 23:50:09 +08:00
initCustomFormatter()
2020-07-17 06:18:52 +08:00
}
}