File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1717 "build:site:single" : " vite build --mode=single" ,
1818 "build:site:less" : " vite build --mode=less" ,
1919 "build:site" : " vite build" ,
20- "build:desktop-app" : " NO_STRIP=true pnpm tauri build" ,
20+ "build:desktop-app" : " pnpm tauri build" ,
2121 "build:desktop-icon" : " pnpm tauri icon ./src-tauri/app-icon.png"
2222 },
2323 "publishConfig" : {
Original file line number Diff line number Diff line change 11{
2- "$schema" : " https://schema.tauri.app/config/2" ,
32 "productName" : " graphscope-portal" ,
43 "version" : " 0.1.0" ,
54 "identifier" : " com.graphscope-portal.app" ,
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export default defineConfig({
8080 port : 5173 ,
8181 } ,
8282 // 添加有关当前构建目标的额外前缀,使这些 CLI 设置的 Tauri 环境变量可以在客户端代码中访问
83- // envPrefix: ['VITE_', 'TAURI_ENV_*'],
83+ envPrefix : [ 'VITE_' , 'TAURI_ENV_*' ] ,
8484 build : {
8585 // Tauri 在 Windows 上使用 Chromium,在 macOS 和 Linux 上使用 WebKit
8686 // target: process.env.TAURI_ENV_PLATFORM == 'windows' ? 'chrome105' : 'safari13',
You can’t perform that action at this time.
0 commit comments