{"size": 375, "ext": "js", "max_stars_repo_path": "packages/examples/vite-config-build-out-dir-example/vite.config.js", "max_stars_repo_name": "iendeavor/unplugin-import-meta-env", "max_stars_repo_stars_event_min_datetime": "2022-02-24T15:03:59.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-17T21:13:05.000Z", "max_issues_repo_path": "packages/examples/vite-config-build-out-dir-example/vite.config.js", "max_issues_repo_name": "iendeavor/import-meta-env", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "packages/examples/vite-config-build-out-dir-example/vite.config.js", "max_forks_repo_name": "iendeavor/import-meta-env", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 4, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.8461538462, "max_line_length": 68, "alphanum_fraction": 0.7013333333}
import { defineConfig } from "vite";
import importMetaEnv from "@import-meta-env/unplugin";
import createSharedViteConfig from "../shared-vite-config.mjs";

// https://vitejs.dev/config/
export default defineConfig({
  build: {
    outDir: "custom-out-dir",
    ...createSharedViteConfig().build,
  },
  plugins: [importMetaEnv.vite({ example: ".env.example.public" })],
});
