-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
Is your feature request related to a problem? Please describe.
Request for support https://viteplus.dev/
Describe the solution you'd like
When vite+ is currently used in a vitepress project, vite+ creates vite.config.ts in the root directory of the project, how does this affect the project?
Contents of automatically generated vite.config.ts:
import { defineConfig } from 'vite-plus';
export default defineConfig({
lint: {"options":{"typeAware":true,"typeCheck":true}},
fmt: {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"quoteProps": "as-needed",
"bracketSpacing": true,
"arrowParens": "avoid",
"htmlWhitespaceSensitivity": "ignore",
"bracketSameLine": true,
"sortPackageJson": false,
"embeddedLanguageFormatting": "auto",
"ignorePatterns": [
".vitepress/cache",
".vitepress/dist",
"node_modules",
"package-lock.json",
"pnpm-lock.yaml",
"bun.lockb",
".env"
]
},
});My own previously configured vite info.vitepress\configs\vite.mts:
import { groupIconVitePlugin } from 'vitepress-plugin-group-icons'
/** @type {import('vite').UserConfig} */
export default {
plugins: [groupIconVitePlugin()],
server: {
host: '0.0.0.0',
},
build: {
rollupOptions: {
external: ['gitalk', 'rough-notation'],
output: {
globals: {
gitalk: 'Gitalk',
'rough-notation': 'RoughNotation',
},
},
},
},
}Describe alternatives you've considered
null
Additional context
vp env current
Environment:
Version 25.8.0
Source default
Source Path C:\Users\bddxg\.vite-plus\config.json
Tool Paths:
node C:\Users\bddxg\.vite-plus\js_runtime\node\25.8.0\node.exe
npm C:\Users\bddxg\.vite-plus\js_runtime\node\25.8.0\npm.cmd
npx C:\Users\bddxg\.vite-plus\js_runtime\node\25.8.0\npx.cmd
vp --version
VITE+ - The Unified Toolchain for the Web
vp v0.1.11
Local vite-plus:
vite-plus v0.1.12
Tools:
vite v8.0.0
rolldown v1.0.0-rc.9
vitest v4.1.0
oxfmt v0.40.0
oxlint v1.55.0
oxlint-tsgolint v0.17.0
tsdown v0.21.3
Validations
- Follow our Code of Conduct
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels