rollup-plugin-vue icon indicating copy to clipboard operation
rollup-plugin-vue copied to clipboard

rollup-plugin-vue@next error handle not compatible with @vue/[email protected]

Open hardfist opened this issue 3 years ago • 0 comments

Version

6.0.0

Reproduction link

github.com

Steps to reproduce

https://github.com/hardfist/rollup-plugin-vue/tree/bug-case run npm run build in examples/simple

What is expected?

generate readable rollup Error info

What is actually happening?

null exception in createRollupError

image

It seems that @vue/[email protected] will throw babelError with code(@vue/[email protected] doesn't contains code field) and loc fields which is not compatible with current error handler https://github.com/vuejs/rollup-plugin-vue/blob/next/src/utils/error.ts#L19

hardfist avatar Jan 10 '22 02:01 hardfist