Skip to content
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

refactor: use default options for flexibility #33

Merged
merged 2 commits into from
Aug 22, 2024
Merged

Conversation

a145789
Copy link
Contributor

@a145789 a145789 commented Aug 22, 2024

When the user passes in a configuration item, the default configuration item is lost, and the configuration item should be optional if a default value is provided.

vitePlugins.push(analyzer({
    analyzerPort: '8081',
  }))
Error: Invalidate Option `analyzerMode`

@nonzzz
Copy link
Owner

nonzzz commented Aug 22, 2024

Relative #32

@nonzzz nonzzz merged commit 6dd6edc into nonzzz:master Aug 22, 2024
1 check passed
@nonzzz nonzzz added good first issue Good for newcomers enhancement New feature or request labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants