2 Star 1 Fork 0

李佳伟5152/原子剪贴板

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts.timestamp-1702833214532-4275edb47c5ad.mjs 3.41 KB
一键复制 编辑 原始数据 按行查看 历史
李佳伟5152 提交于 2023-12-29 00:16 . init: 初始化
// vite.config.ts
import { defineConfig } from "file:///D:/code/tauri/AtomicClipboard/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/code/tauri/AtomicClipboard/node_modules/@vitejs/plugin-vue/dist/index.mjs";
var vite_config_default = defineConfig({
// prevent vite from obscuring rust errors
clearScreen: false,
// Tauri expects a fixed port, fail if that port is not available
server: {
strictPort: true
},
// to access the Tauri environment variables set by the CLI with information about the current target
envPrefix: ["VITE_", "TAURI_PLATFORM", "TAURI_ARCH", "TAURI_FAMILY", "TAURI_PLATFORM_VERSION", "TAURI_PLATFORM_TYPE", "TAURI_DEBUG"],
build: {
// Tauri uses Chromium on Windows and WebKit on macOS and Linux
target: process.env.TAURI_PLATFORM == "windows" ? "chrome105" : "safari13",
// don't minify for debug builds
minify: !process.env.TAURI_DEBUG ? "esbuild" : false,
// 为调试构建生成源代码映射 (sourcemap)
sourcemap: !!process.env.TAURI_DEBUG
},
plugins: [vue()]
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxjb2RlXFxcXHRhdXJpXFxcXEF0b21pY0NsaXBib2FyZFwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcY29kZVxcXFx0YXVyaVxcXFxBdG9taWNDbGlwYm9hcmRcXFxcdml0ZS5jb25maWcudHNcIjtjb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y8gZG9uJ3QgbWluaWZ5IGZvciBkZWJ1ZyBidWlsZHNcbiAgICBtaW5pZnk6ICFwcm9jZXNzLmVudi5UQVVSSV9ERUJVRyA/ICdlc2J1aWxkJyA6IGZhbHNlLFxuICAgIC8vIFx1NEUzQVx1OEMwM1x1OEJENVx1Njc4NFx1NUVGQVx1NzUxRlx1NjIxMFx1NkU5MFx1NEVFM1x1NzgwMVx1NjYyMFx1NUMwNCAoc291cmNlbWFwKVxuICAgIHNvdXJjZW1hcDogISFwcm9jZXNzLmVudi5UQVVSSV9ERUJVRyxcbiAgfSxcbiAgcGx1Z2luczpbdnVlKCldXG59KSJdLAogICJtYXBwaW5ncyI6ICI7QUFBaVIsU0FBUyxvQkFBb0I7QUFDOVMsT0FBTyxTQUFTO0FBRWhCLElBQU8sc0JBQVEsYUFBYTtBQUFBO0FBQUEsRUFFMUIsYUFBYTtBQUFBO0FBQUEsRUFFYixRQUFRO0FBQUEsSUFDTixZQUFZO0FBQUEsRUFDZDtBQUFBO0FBQUEsRUFFQSxXQUFXLENBQUMsU0FBUyxrQkFBa0IsY0FBYyxnQkFBZ0IsMEJBQTBCLHVCQUF1QixhQUFhO0FBQUEsRUFDbkksT0FBTztBQUFBO0FBQUEsSUFFTCxRQUFRLFFBQVEsSUFBSSxrQkFBa0IsWUFBWSxjQUFjO0FBQUE7QUFBQSxJQUVoRSxRQUFRLENBQUMsUUFBUSxJQUFJLGNBQWMsWUFBWTtBQUFBO0FBQUEsSUFFL0MsV0FBVyxDQUFDLENBQUMsUUFBUSxJQUFJO0FBQUEsRUFDM0I7QUFBQSxFQUNBLFNBQVEsQ0FBQyxJQUFJLENBQUM7QUFDaEIsQ0FBQzsiLAogICJuYW1lcyI6IFtdCn0K
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/ljw236/atomic-clipboard.git
git@gitee.com:ljw236/atomic-clipboard.git
ljw236
atomic-clipboard
原子剪贴板
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385