@paintless/mapper-vite
v0.1.0
Published
Vite plugin that annotates JSX elements with their source location for Paintless
Maintainers
Readme
@paintless/mapper-vite
Vite plugin that stamps every JSX element with its file and line.
import { paintlessMapper } from '@paintless/mapper-vite'
export default defineConfig({
plugins: [paintlessMapper(), react()],
})Serve-only by default. Pass { build: true } when the built output also needs
source attributes — a hosted demo, or a prod deployment you want to click on.
Part of Paintless — click an element in a running app, describe the change, let an agent make it. Docs: https://kyechan99.github.io/paintless/
MIT © kyechan99
