@keyblade/vite-plugin-vue-pro 1.0.4 → 1.0.6

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/es/index.js +31 -14
  2. package/package.json +6 -6
package/es/index.js CHANGED
@@ -1,28 +1,45 @@
1
- import "vite";
2
- import e from "@vitejs/plugin-vue";
3
- import u from "vite-plugin-vue-devtools";
4
- import { monitorUsage as m } from "@foundbyte/security-monitor-usage";
5
- import { visualizer as a } from "rollup-plugin-visualizer";
6
- function f() {
1
+ var l = (r, v, u) => new Promise((c, f) => {
2
+ var t = (e) => {
3
+ try {
4
+ a(u.next(e));
5
+ } catch (m) {
6
+ f(m);
7
+ }
8
+ }, i = (e) => {
9
+ try {
10
+ a(u.throw(e));
11
+ } catch (m) {
12
+ f(m);
13
+ }
14
+ }, a = (e) => e.done ? c(e.value) : Promise.resolve(e.value).then(t, i);
15
+ a((u = u.apply(r, v)).next());
16
+ });
17
+ import y from "@vitejs/plugin-vue";
18
+ import d from "vite-plugin-vue-devtools";
19
+ import { monitorUsage as b } from "@foundbyte/security-monitor-usage";
20
+ import { visualizer as g } from "rollup-plugin-visualizer";
21
+ function k() {
7
22
  return {
8
23
  /** 名称 */
9
24
  name: "keyblade-pro-security-monitor",
10
25
  /** 顺序 */
11
26
  enforce: "post",
12
27
  /** 启动时执行 */
13
- async buildStart() {
14
- await m("未知");
28
+ buildStart() {
29
+ return l(this, null, function* () {
30
+ yield b("未知");
31
+ });
15
32
  }
16
33
  };
17
34
  }
18
- function y(r) {
35
+ function M(r) {
19
36
  return [
20
- e(r == null ? void 0 : r.vue),
21
- u(r == null ? void 0 : r.vueDevTools),
22
- a(r == null ? void 0 : r.visualizer),
23
- f()
37
+ y(r == null ? void 0 : r.vue),
38
+ d(r == null ? void 0 : r.vueDevTools),
39
+ g(r == null ? void 0 : r.visualizer),
40
+ k()
24
41
  ];
25
42
  }
26
43
  export {
27
- y as default
44
+ M as default
28
45
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@keyblade/vite-plugin-vue-pro",
3
3
  "description": "KeyBlade Vite Plugin Vue Pro",
4
4
  "author": "yangshuai <704807396@qq.com>",
5
- "version": "1.0.4",
5
+ "version": "1.0.6",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@foundbyte/security-monitor-usage": "^1.0.2",
22
- "@vitejs/plugin-vue": "^6.0.1",
23
- "rollup-plugin-visualizer": "^6.0.3",
24
- "vite-plugin-vue-devtools": "^8.0.1"
21
+ "@foundbyte/security-monitor-usage": "^1.0.4",
22
+ "@vitejs/plugin-vue": "^6.0.3",
23
+ "rollup-plugin-visualizer": "^6.0.5",
24
+ "vite-plugin-vue-devtools": "^8.0.5"
25
25
  },
26
26
  "peerDependencies": {
27
- "vite": ">=6.0.0"
27
+ "vite": ">=7.0.0"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "vite build",