Skip to content

feat(vite-plugin): support https dev server #1037

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

siketyan
Copy link

@siketyan siketyan commented Jun 19, 2025

Fixes #852

Added support for the Vite config option config.server.https. When it is true, the plugin will emit https://localhost:{port}/... for service-worker-loader.js and other locations.

Copy link

changeset-bot bot commented Jun 19, 2025

🦋 Changeset detected

Latest commit: 98d53a4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@crxjs/vite-plugin Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jun 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vite-plugin-docs ❌ Failed (Inspect) Jun 19, 2025 11:24am

@siketyan
Copy link
Author

I can't see the build log, no idea why it is failing

@Toumash
Copy link
Member

Toumash commented Jun 19, 2025

I can't see the build log, no idea why it is failing

dont worry, something is broken with the docs deployment. Pipelines were not run yet

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about this config? Is it not needed here?
url.protocol = 'http:'

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.

crxjs does not support HTTPS flag in vite
2 participants