Skip to content

V2.0.0: announcement only support for Node.js v14+

Latest
Compare
Choose a tag to compare
@JuniorTour JuniorTour released this 30 Jul 14:46
· 2 commits to main since this release
a17048f

Update package.json engines to only support for Node.js v14+.

The vue-template-compiler use new Function(("return " + exp)) to detect if js expression is valid.

So if Node.js env not support optional chaining syntax, compile will fail.

We can support Node.js version below 12, but it need a lot of work.

Details explanation: #29 (comment)