@eyeglass/inspector 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,19 +15,11 @@ npm install -D @eyeglass/inspector
15
15
  Import in your app's entry file:
16
16
 
17
17
  ```typescript
18
+ // src/main.tsx (Vite) or app/layout.tsx (Next.js)
18
19
  import '@eyeglass/inspector';
19
20
  ```
20
21
 
21
- Or with Vite, use the plugin (created by `npx @eyeglass/cli init`):
22
-
23
- ```typescript
24
- // vite.config.ts
25
- import { eyeglassPlugin } from './eyeglass.plugin';
26
-
27
- export default defineConfig({
28
- plugins: [eyeglassPlugin(), react()],
29
- });
30
- ```
22
+ The inspector auto-initializes when imported and only runs in development mode.
31
23
 
32
24
  ## Features
33
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eyeglass/inspector",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Browser inspector component for Eyeglass",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",