chore: only log prod tip in non-bundler builds
This commit is contained in:
parent
43579a8de3
commit
7a3b964a1b
@ -8,10 +8,12 @@ export function initDev() {
|
||||
setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__)
|
||||
|
||||
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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user