towry / n

Lots of notes here, check out the issues.

Home Page:http://git.io/vEsyU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue: Unexpected token, expected ","

towry opened this issue · comments

vue: Unexpected token, expected "," 
> 1 | [object Promise]
my-project:dev:     |         ^
my-project:dev:   2 | export { render, staticRenderFns }

In a monorepo with pnpm, The cause is strange, the solution is simple, remove prettier from the root package.json of this monorepo. Maybe it's not because the prettier: latest package.