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

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

15 lines
358 B
TypeScript
Raw Normal View History

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