Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

394 B
Raw Blame
import { defineConfig } from 'vite';

export default defineConfig({
  resolve: {
    conditions: ['node'],
    mainFields: ['module', 'jsnext:main', 'jsnext'],
  },
  build: {
    rollupOptions: {
      // sharp 是原生 N-API 模块,随 packaged app 的 runtime deps 按平台解析。
      external: ['sharp'],
      output: {
        inlineDynamicImports: true,
      },
    },
  },
});