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

fix: Copies SFCDescriptor before further passing it to processors #243

Merged
merged 1 commit into from
Nov 5, 2018

Conversation

nandin-borjigin
Copy link

scss processor modifies descriptor.styles[x].map.mappings and
parse function from component-compiler-utils caches the parsing
result. These two combined would cause a bug when rolling-up
multiple-output configuration since the descriptor is modified and
cached in the first turn and causing successive turns to fail.

Fixes #241 #239 .

Changes proposed in this pull request:

/ping @znck

scss processor modifies descriptor.styles[x].map.mappings and
`parse` function from `component-compiler-utils` caches the parsing
result. These two combined would cause a bug when rolling-up
multiple-output configuration since the descriptor is modified and
cached in the first turn and causing successive turns to fail.
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.

2 participants