Skip to content

Add sourcemaps for replaced preflight styles - #442

Merged
adamwathan merged 1 commit into
masterfrom
preflight-sourcemaps
Mar 30, 2018
Merged

Add sourcemaps for replaced preflight styles#442
adamwathan merged 1 commit into
masterfrom
preflight-sourcemaps

Conversation

@adamwathan

Copy link
Copy Markdown
Member

When replacing @tailwind preflight with the actual styles, we weren't updating all of the nodes in the preflight styles to point to the at-rule they are replacing.

This PR updates the source for each node so that when looking at your sourcemaps you can see that styles like * { box-sizing: border-box } originated from the @tailwind preflight; rule in your source CSS.

Fixes #441.

@adamwathan
adamwathan merged commit 14f1ba6 into master Mar 30, 2018
@adamwathan
adamwathan deleted the preflight-sourcemaps branch May 30, 2018 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant