@vixt/react 0.4.3 → 0.4.5

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/dist/index.mjs +3 -3
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { generateClient, generateCss, generateAppConfig, generatePlugins, defineVixtModule, generateIndexHtml, resolveLayersDirs, createVixtPlugin } from '@vixt/core';
1
+ import { generateClient, generateCss, generateAppConfig, generatePlugins, defineVixtModule, generateIndexHtml, resolveLayersDirs, patchUnocss, createVixtPlugin } from '@vixt/core';
2
2
  import path from 'pathe';
3
3
  import fs from 'fs-extra';
4
4
  import React from '@vitejs/plugin-react';
@@ -121,8 +121,7 @@ const defaults$1 = {
121
121
  css: [],
122
122
  head: {
123
123
  meta: [
124
- { charset: "utf-8" },
125
- { name: "viewport", content: "width=device-width, initial-scale=1" }
124
+ { charset: "utf-8" }
126
125
  ]
127
126
  }
128
127
  };
@@ -236,6 +235,7 @@ const presetReact = defineVixtModule({
236
235
  unocss: {}
237
236
  };
238
237
  const options = vixt.options = defu(vixt.options, defaultOptions);
238
+ patchUnocss();
239
239
  const plugins = [
240
240
  UnoCSS(options.unocss),
241
241
  React(options.react),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/react",
3
3
  "type": "module",
4
- "version": "0.4.3",
4
+ "version": "0.4.5",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/SoulLyoko/vixt#readme",
@@ -21,19 +21,19 @@
21
21
  "@types/react": "^19.1.8",
22
22
  "@types/react-dom": "^19.1.6",
23
23
  "@vitejs/plugin-react": "^4.6.0",
24
- "ahooks": "^3.8.5",
24
+ "ahooks": "^3.9.0",
25
25
  "extract-comments": "^1.1.0",
26
26
  "fast-glob": "^3.3.3",
27
27
  "react": "^19.1.0",
28
28
  "react-dom": "^19.1.0",
29
- "react-router": "^7.6.2",
29
+ "react-router": "^7.6.3",
30
30
  "unocss": "66.0.0",
31
31
  "unplugin-auto-import": "^19.3.0",
32
32
  "unplugin-vue-components": "28.0.0",
33
- "vite-plugin-pages": "^0.33.0",
33
+ "vite-plugin-pages": "^0.33.1",
34
34
  "vite-plugin-vue-layouts": "^0.11.0",
35
35
  "yaml": "^2.8.0",
36
- "@vixt/core": "0.4.3"
36
+ "@vixt/core": "0.4.5"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "unbuild",