
Security News
Packagist Urges Immediate Composer Update After GitHub Actions Token Leak
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.
@vscode/component-explorer-vite-plugin
Advanced tools
Vite plugin for the [Component Explorer](../../README.md). Discovers fixture files, generates virtual entry modules, and serves the explorer UI during development.
Vite plugin for the Component Explorer. Discovers fixture files, generates virtual entry modules, and serves the explorer UI during development.
// vite.config.ts
import { defineConfig } from 'vite';
import { componentExplorer } from '@vscode/component-explorer-vite-plugin';
export default defineConfig({
plugins: [
componentExplorer({
// options (all optional)
}),
],
});
| Option | Type | Default | Description |
|---|---|---|---|
include | string | './src/**/*.fixture.{ts,tsx}' | Glob pattern for discovering fixture files. |
route | string | '/___explorer' | URL path where the explorer UI is served during development. |
build | BuildMode | 'app-only' | Controls what gets included in vite build output. See Build Modes. |
outFile | string | '___explorer.html' | Output filename for the explorer HTML in production builds. Defaults to 'index.html' when build is 'explorer-only'. |
logLevel | LogLevel | 'info' | Logging verbosity: 'silent', 'info', or 'verbose'. |
The build option controls what gets emitted during vite build (has no effect on vite dev):
| Mode | Description |
|---|---|
'app-only' | Build the app without the explorer. Suitable for production deployments. |
'all' | Build both the app and the explorer. Useful for CI/staging environments. |
'explorer-only' | Build only the explorer, emitting index.html. For static hosting of the explorer. |
componentExplorer({
build: 'all', // include explorer in production build
})
To set the build mode via an environment variable:
import { type BuildMode } from '@vscode/component-explorer-vite-plugin';
componentExplorer({
build: (process.env.EXPLORER_BUILD as BuildMode) ?? undefined,
})
FAQs
Vite plugin for the [Component Explorer](../../README.md). Discovers fixture files, generates virtual entry modules, and serves the explorer UI during development.
The npm package @vscode/component-explorer-vite-plugin receives a total of 16,935 weekly downloads. As such, @vscode/component-explorer-vite-plugin popularity was classified as popular.
We found that @vscode/component-explorer-vite-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.

Research
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.