Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

fix: copy sfc descriptor to prevent caching issues #9

Merged
merged 2 commits into from Sep 29, 2020

Conversation

andrew0
Copy link
Contributor

@andrew0 andrew0 commented Sep 23, 2020

The parse function in @vue/component-compiler-utils caches the result based on a hash of the source. Since the sourcemap object on the descriptor gets mutated, it will try merging the sourcemaps multiple times on the same descriptor reference if you make a second request before the first one finishes.

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

Successfully merging this pull request may close these issues.

None yet

2 participants