-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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(plugin-legacy): add protocol
to support file protocol #1189
#2574
Conversation
I need this PR, too. |
@L-Chris replace code is for remove the ESM script entry, file protocol not support ESM due to cross origin request. |
I also need this, but it's for electron so I don't need all the other aspects of plugin-legacy. I got a build that's compatible with the file protocol with the following config:
And created the following plugin to stop the browser treating the script like a module:
|
What's blocking this PR from getting merged? File protocol support would be super useful, i.e. for Tizen Web applications. |
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
I can't use vite on my project because of this issue. Please why this PR cannot be merged? |
Recieved, thanks.收到邮件啦~谢谢!
|
Recieved, thanks.收到邮件啦~谢谢!
|
Fix #1189