@iterate-ai/viteplugin
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

Iterate Vite Plugin

Description

A Vite plugin that provides sourcemaps support for Iterate AI.

1. Installation

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

2. Setup

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
  },
});

3. Configuration Details

Option Description Required
apiKey Your API key
project Name of your project
organization Name of your organization

Readme

Keywords

Package Sidebar

Install

npm i @iterate-ai/viteplugin

Weekly Downloads

49

Version

1.2.4

License

MIT

Unpacked Size

7.28 kB

Total Files

7

Last publish

Collaborators

  • phukon
  • dev-iterate-ai