Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dev): support css sourcemap #659

Closed
wants to merge 1 commit into from

Conversation

underfin
Copy link
Member

@underfin underfin commented Aug 2, 2020

close #649

For build css courcemap, the code will be transformed by rollup-plugin-vue first and lost dependencies info, that caused lost some css sourcemap imported by vue style block imported.
I have a try with disable rollup-plugin-vue css handle and move logic into vite-css-build plugin, but will not get correct preprocessor lang(it need parse sfc block to get this).That means that we need do more something in vite, not rollup-plugin-vue.
I think I used the error way and want to get advice for support build css sourcemap, thanks a lot =.=

@underfin underfin mentioned this pull request Aug 8, 2020
@underfin underfin marked this pull request as draft August 31, 2020 03:58
@yyx990803 yyx990803 closed this Jan 2, 2021
@yyx990803 yyx990803 deleted the branch vitejs:master January 2, 2021 18:17
@underfin underfin deleted the css-sourcemap branch January 2, 2021 23:55
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.

The css sourceMap not work
2 participants