glyphor-tagger
v1.0.4
Published
A Vite plugin to tag React components with data-gly-id.
Readme
glyphor-tagger
A Vite plugin to tag React components with data-gly-id attributes for easy identification and debugging.
Installation
npm install glyphor-taggerUsage
Add the plugin to your vite.config.js or vite.config.ts:
import { componentTagger } from 'glyphor-tagger';
export default {
plugins: [componentTagger()]
};Publishing
- Make sure your code is built:
npm run build - Bump the version in
package.jsonas needed. - Log in to npm (if not already):
npm login - Publish:
npm publish --access public
Files Included
Only the dist/ directory is published, as specified in package.json and .npmignore.
License
MIT
