vitejs / vitejs/vite-plugin-basic-ssl
add note to README about avoiding plugin execution on build
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 517
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
The @vitejs/plugin-basic-ssl plugin is only needed for local development. However, if added normally to vite.config.js.
Please add a quick note to the README showing users how to stop this by using Vite's apply: 'serve' property.
import { defineConfig } from 'vite';
import basicSsl from '@vitejs/plugin-basic-ssl';
export default defineConfig({
plugins: [
{
...basicSsl(),
apply: 'serve' // Prevents running during production builds
}
]
});
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with README and find the plugin configuration example or setup guidance. Add the provided Vite apply: 'serve' example and explanation, then verify that the note clearly shows how to prevent the plugin from running during production builds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 90/100