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
Fix style modules not being resolved from iframe.html (#266) #268
Conversation
* Upgrade to Vite 2.8.5 to reproduce the issue * Updated outdated CONTRIBUTING.md
Thanks for digging into this! It sounds like vite is going to revert for now, and re-introduce this change into 2.9 (vitejs/vite#7136). So, let's hold off on this change for now, until things stabilize a bit. But this seems like a reasonable fix once they do make the change. |
@IanVS I've seen the discussion on Vite's Discord server, should I close this PR or do you want me to update it to include poyoho's implementation of the fix ? |
If you're up for using that approach, that would be great! Although, it would be nice if we can use native browser methods and avoid adding a dependency on 'url'. Thanks! |
Hey! Just gave it a try and it seems to be working fine! However, using the native URL API requires:
Any suggestions? See changes |
Thanks yet again! I think I need to apologize for sending you down the wrong track. I'm so used to working in the browser that sometimes I forget that most of this code runs in node. And I didn't realize that |
Hey Ian! No worries, I should have been able to spot that myself 😄 Node URL module's |
Ok, bummer. It feels weird to throw a |
Sounds fine to me, here you go 🤞 |
It looks like another |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Released in 0.1.19. |
Fixes #266
See comment #266 (comment)