@motifx/core 1.2.0-rc.1 → 1.2.0-rc.3

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.
package/README.md CHANGED
@@ -23,7 +23,6 @@ import compiler from '@motifx/compiler';
23
23
 
24
24
  export default defineConfig({
25
25
  plugins: [compiler()],
26
- esbuild: { jsx: 'preserve' },
27
26
  });
28
27
  ```
29
28
 
@@ -43,7 +42,7 @@ export default defineConfig({
43
42
  }
44
43
  ```
45
44
 
46
- `jsx: "preserve"` is required in both places: the JSX is compiled by `@motifx/compiler`, not by esbuild or TypeScript.
45
+ The JSX is compiled by `@motifx/compiler`, which runs before Vite's own transform, so Vite needs no JSX setting. `"jsx": "preserve"` in `tsconfig.json` lets TypeScript type-check JSX without compiling it.
47
46
 
48
47
  ## A first component
49
48