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__)
|
setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__)
|
||||||
|
|
||||||
if (__BROWSER__) {
|
if (__BROWSER__) {
|
||||||
console.info(
|
if (!__ESM_BUNDLER__) {
|
||||||
`You are running a development build of Vue.\n` +
|
console.info(
|
||||||
`Make sure to use the production build (*.prod.js) when deploying for production.`
|
`You are running a development build of Vue.\n` +
|
||||||
)
|
`Make sure to use the production build (*.prod.js) when deploying for production.`
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
initCustomFormatter()
|
initCustomFormatter()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user