vite-plugin-vanjs 0.0.1 → 0.0.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.
package/jsx/jsx.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import van from "@vanjs/van";
2
- import setup from "@vanjs/van";
2
+ import setup from "@vanjs/setup";
3
3
  import { setAttribute, styleToString } from "./utils.mjs";
4
4
 
5
5
  export const jsx = (jsxTag, { children, ref, style, ...props }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-vanjs",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "author": "thednp",
5
5
  "license": "MIT",
6
6
  "description": "A Vite plugin for VanJS to enable JSX transformation and simplify aplication development.",
package/src/index.mjs CHANGED
@@ -18,9 +18,6 @@ export default function VitePluginVanJS() {
18
18
  "@vanjs/vanX": resolve(__dirname, "../setup/vanX"),
19
19
  },
20
20
  },
21
- optimizeDeps: {
22
- include: ["vanjs-core", "mini-van-plate", "vanjs-ext"],
23
- },
24
21
  esbuild: {
25
22
  jsx: "automatic",
26
23
  jsxFactory: "jsx",
package/tsconfig.json CHANGED
@@ -28,6 +28,6 @@
28
28
  "jsx": "preserve",
29
29
  "jsxImportSource": "vite-plugin-vanjs",
30
30
  },
31
- "include": ["./src/**/*", "./jsx/**/*.d.ts", "setup/**/*"],
31
+ "include": ["./src/**/*.ts", "./jsx/**/*.d.ts", "setup/**/*"],
32
32
  "exclude": ["node_modules", "experiments", "coverage"],
33
33
  }