Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

rollup-plugin-vue@next error handle not compatible with @vue/compiler-sfc@3.2.26 #462

Open
hardfist opened this issue Jan 10, 2022 · 0 comments

Comments

@hardfist
Copy link

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/compiler-sfc@3.2.26 will throw babelError with code(@vue/compiler-sfc@3.0.3 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant