npm run build-only "dev": "vite", "build": "run-p type-check \"build-only {@}\" --", "preview": "vite preview", "build-only": "vite build", "type-check": "vue-tsc --build --force"
"build:vite": "vite build --config vite.config.js", "clean": "tsc -b ./tsconfig.build.json --clean && rimraf \"lib\"", "format": "prettier --write '**/*.ts'", "prepublishOnly": "cross-env NODE_ENV=production npm run build", "prepublishOnly": "npm run clean && cross-env...
at (/Users/user/code/code/my-app/node_modules/.pnpm/vite@6.0.3_less@4.2.1/node_modules/vite/dist/node/chunks/dep-yUJfKD1i.js:49246:11) at process (/Users/user/code/code/my-app/node_modules/.pnpm/vite@6.0.3_less@4.2.1/node_modules/vite/dist/node/chunks/dep-yUJfKD1i.js:49241...
This plugin works perfectly fine in dev mode (i.e. when runningvite), however when I build (vite build) and look at the generated files, the SVGs are inlined as data urls instead of as modules within the bundle. My plugin's output appears to be ignored completely. ...
I'm having an issue integrating apache's echarts and vue-echarts specifically when building in SSG mode. Everything works under vite build and vite (dev mo...
如果你正在使用Vue 3,并且需要编译模板(例如,在使用Vue CLI、Vite或Webpack等构建工具时),你需要将compilerOptions传递给@vue/compiler-dom。这通常在你的构建配置文件中进行,例如vue.config.js(对于Vue CLI)、vite.config.js(对于Vite)或webpack.config.js(对于Webpack)。 4. 将原本在compileroptions中的配置,正...
Reporting a bug? Hello, recently with my team we decided to optimize vue-i18n following your guide recommendations and ended up using the official vite plugin. Now we run into an issue with runtimeOnly build where missing message key are making the app crash, despiteformatFallback: truebecause...
What version of Tailwind CSS are you using? "@tailwindcss/vite": "^4.0.0" What build tool (or framework if it abstracts the build tool) are you using? "vite": "^6.0.5" What version of Node.js are you using? v22.13.0 What browser are you ...
name: 'vite:pre-alias', async resolveId(id, importer, options) { @@ -18,16 +28,70 @@ export function preAliasPlugin(config: ResolvedConfig): Plugin { importer && depsOptimizer && bareImportRE.test(id) && !options?.scan !options?.scan && id !== '@vite/client' && id !== '@vit...
Next generation frontend tooling. It's fast! Contribute to vitejs/vite development by creating an account on GitHub.