@iterate-ai/viteplugin
v1.1.2
Published
A Vite plugin for setting up your project with Iterate AI
Downloads
245
Readme
Iterate Vite Plugin
Description
Uploads sourcemaps.
What it does
- Sourcemap Detection: Identifies and processes sourcemap files during Vite builds.
- Temporary Storage: Relocates sourcemaps to a temporary directory for processing.
- Secure Upload: Uploads sourcemaps securely to a specified URL.
- Post-processing Cleanup: Removes temporary files after successful processing.
- Retrieves Git branch information for improved tracking.
Installation
npm install @iterate-ai/viteplugin
Usage
import { defineConfig } from 'vite';
import { iterateVitePLugin } from '@iterate-ai/viteplugin';
export default defineConfig({
plugins: [
iterateVitePLugin('url')
],
// ... other Vite configurations
});