flz-tagger
v1.0.0
Published
Vite component source tagger used by Flazio preview visual editing.
Readme
flz-tagger
Vite plugin that tags rendered DOM nodes with JSX source metadata for Flazio visual editing.
import { componentTagger } from "flz-tagger";
export default defineConfig(({ mode }) => ({
plugins: [
mode === "development" && componentTagger({ jsxSource: true }),
].filter(Boolean),
}));For production builds, do not load the plugin.
