feat: production tip

This commit is contained in:
Evan You
2019-09-03 20:51:42 -04:00
parent cbc8dddd15
commit c833db9c97
3 changed files with 23 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
// TODO this package will be the "full-build" that includes both the runtime
// and the compiler
export * from '@vue/runtime-dom'
if (__FEATURE_PRODUCTION_TIP__) {
console[console.info ? 'info' : 'log'](
`You are running a development build of Vue.\n` +
`Make sure to use the production build (*.prod.js) when deploying for production.`
)
}