mirror of
https://github.com/codex-storage/codex-marketplace-ui-components.git
synced 2025-02-16 16:37:18 +00:00
18 lines
371 B
TypeScript
18 lines
371 B
TypeScript
|
import { defineConfig } from "vite";
|
||
|
import react from "@vitejs/plugin-react";
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [react({ jsxRuntime: "automatic" })],
|
||
|
worker: {
|
||
|
rollupOptions: {
|
||
|
external: ["@codex/sdk-js"],
|
||
|
output: {
|
||
|
globals: {
|
||
|
"@codex/sdk-js": "codex-sdk-js",
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
});
|