-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Sourcemap for "/iframe.html" points to missing source files #7432
Comments
This issue is also present in the Element Plus Vite Starter template. Hopefully that can help narrow down the cause. You need to visit the devserver in the browser to trigger it. |
I digged down a bit and it seems like I have forgot to support inline styles. I have created a PR with only includes a test case for this. #7434 I am not sure about this one. I will take a look after fixing the inline style one.
|
@Ragura I was not able to reproduce it. Did you also update |
I hadn't done that yet, but I did now and it still gives me the following output including the 2 source map errors:
Fulll package.json dependencies for reference:
|
Thank you I was able to reproduce it. |
@Ragura would you confirm that vite@2.9.0-beta.8 is working well for you? |
Almost. The Element Plus starter template no longer gives the errors. The only source map error remaining is the one for tailwind.css in our production project.
For reference, the only thing inside that file is the standard Tailwind preflight.
|
Thanks for testing @Ragura As we are discussing in #contributing in Vite Land, we are going to have a new experimental |
This happens with unocss.
https://stackblitz.com/edit/vitejs-vite-jrbfg2?file=vite.config.js Edited: I looks like unocss is not returning sourcemap. |
I've got a similar issue in vitebook/vitebook#71 and vitebook/vitebook#72. To reproducce this error you should be able to do the following:
The issue can also be observed in https://stackblitz.com/github/vitebook/vitebook/tree/main/examples/svelte-kit?file=package.json |
@Myrmod I am not sure but I feel vitebook is not returning sourcemaps. But I cannot debug because I am using windows (vitebook/vitebook#20). |
Closing as Vitebook seems to upgrade to Vite 3 and includes many changes and it seems to be fixed. |
Describe the bug
@sapphi-red, opening an issue so we can keep track of an issue introduced in 2.9.0-beta.6, and not present in 2.9.0-beta.4, so it should be related to:
Users are seeing logs:
See storybookjs/builder-vite#288
And
See discussion in Vite Land
Reproduction
storybookjs/builder-vite#288
System Info
.
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: