Enabling createCompilerError message in production
Version
3.2.1
Reproduction link
Steps to reproduce
Is there any way to enable proper error messages in production when using vue.esm-bundler.js
?
vue.cjs.prod.js seems to include proper error messages for DOM compiler errors unlike vue.esm-bundler.js.
What is expected?
SyntaxError: Element is missing end tag.
What is actually happening?
SyntaxError: 24
That would bloat the production bundle by a LOT. I think what we should probably do is include an error code to message reference in the docs, which can be auto-generated.
For now you can refer to the non-minified code (search for "errorMessages")