@vixt/react 0.9.0 → 0.10.1
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/dist/client/entry.d.ts +2 -4
- package/dist/client/entry.js +1 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +262 -231
- package/package.json +7 -7
package/dist/client/entry.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "virtual:uno.css";
|
|
3
|
-
import * as react_dom_client0 from "react-dom/client";
|
|
1
|
+
import * as _$react_dom_client0 from "react-dom/client";
|
|
4
2
|
|
|
5
3
|
//#region src/client/entry.d.ts
|
|
6
|
-
declare function entry(): react_dom_client0.Root;
|
|
4
|
+
declare function entry(): _$react_dom_client0.Root;
|
|
7
5
|
//#endregion
|
|
8
6
|
export { entry as default };
|
package/dist/client/entry.js
CHANGED
|
@@ -6,7 +6,6 @@ import { createRoot } from "react-dom/client";
|
|
|
6
6
|
import appConfig from "virtual:vixt:app-config";
|
|
7
7
|
import plugins from "virtual:vixt:plugins";
|
|
8
8
|
import RootComponent from "virtual:vixt:root-component.tsx";
|
|
9
|
-
|
|
10
9
|
//#region src/client/entry.ts
|
|
11
10
|
function entry() {
|
|
12
11
|
const app = createRoot(document.getElementById(appConfig.rootId || "app"));
|
|
@@ -23,6 +22,5 @@ function entry() {
|
|
|
23
22
|
return app;
|
|
24
23
|
}
|
|
25
24
|
entry();
|
|
26
|
-
|
|
27
25
|
//#endregion
|
|
28
|
-
export { entry as default };
|
|
26
|
+
export { entry as default };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as _vixt_core0 from "@vixt/core";
|
|
2
|
-
import * as vite from "vite";
|
|
1
|
+
import * as _$_vixt_core0 from "@vixt/core";
|
|
2
|
+
import * as _$vite from "vite";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
5
|
-
declare const _default: (options?: _vixt_core0.VixtOptions | undefined) => vite.PluginOption;
|
|
5
|
+
declare const _default: (options?: _$_vixt_core0.VixtOptions | undefined) => _$vite.PluginOption;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { _default as default };
|