A Vite plugin that provides sourcemaps support for Iterate AI.
Choose your preferred package manager:
# Using npm
npm install @iterate-ai/viteplugin
# Using yarn
yarn add @iterate-ai/viteplugin
# Using pnpm
pnpm add @iterate-ai/viteplugin
Add the plugin to your Vite configuration file (vite.config.js
or vite.config.ts
):
import { defineConfig } from "vite";
import { iterateVitePlugin } from "@iterate-ai/viteplugin";
export default defineConfig({
plugins: [
iterateVitePlugin({
apiKey: "YOUR_API_KEY", // Your unique API key
project: "YOUR_PROJECT_NAME", // The name of your project
organization: "YOUR_ORG_NAME", // Your organization's name
}),
],
build: {
sourcemap: true, // Enable source maps
},
});
Option | Description | Required |
---|---|---|
apiKey |
Your API key | ✅ |
project |
Name of your project | ✅ |
organization |
Name of your organization | ✅ |