Package Exports
- vite-plugin-react-click-to-component
- vite-plugin-react-click-to-component/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vite-plugin-react-click-to-component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
vite-plugin-react-click-to-component 
Option+Right Click in your browser to open the source in your editor.
Light version of ericclemmons/click-to-component that uses Vite's launch editor middleware to open the source code in your currently running editor.
Installation
npm i -D vite-plugin-react-click-to-component
In your Vite config:
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc"; // or @vitejs/plugin-react
import { reactClickToComponent } from "vite-plugin-react-click-to-component";
export default defineConfig({
plugins: [react(), reactClickToComponent()],
});