@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 +1 -2
- package/dist/chunks/{core-SS-LXi1V.cjs → core-DD3SssnS.cjs} +1136 -851
- package/dist/chunks/core-DD3SssnS.cjs.map +1 -0
- package/dist/chunks/{core-vVL0WG0n.esm.js → core-W7wNt8bq.esm.js} +1134 -852
- package/dist/chunks/core-W7wNt8bq.esm.js.map +1 -0
- package/dist/devtools.cjs +1 -1
- package/dist/devtools.esm.js +1 -1
- package/dist/index.cjs +101 -156
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -21
- package/dist/index.d.ts +53 -21
- package/dist/index.esm.js +92 -147
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/dist/index.umd.js +1204 -977
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/core-SS-LXi1V.cjs.map +0 -1
- package/dist/chunks/core-vVL0WG0n.esm.js.map +0 -1
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
|
-
|
|
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
|
|