unplugin-dingtalk 0.3.0 → 0.3.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/astro.cjs CHANGED
@@ -6511,7 +6511,6 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
6511
6511
  // src/index.ts
6512
6512
  var import_unplugin = require("unplugin");
6513
6513
  var import_picocolors = __toESM(require("picocolors"), 1);
6514
- var import_vite_plugin_vconsole = require("vite-plugin-vconsole");
6515
6514
  var import_cookie = __toESM(require("cookie"), 1);
6516
6515
  var import_chii = require("chii");
6517
6516
  var import_get_port_please = require("get-port-please");
@@ -6531,7 +6530,6 @@ var unpluginFactory = (options) => {
6531
6530
  console.log(` ${import_picocolors.default.yellow("DEBUG")} `, ...args);
6532
6531
  }
6533
6532
  }
6534
- const plugins = [];
6535
6533
  const unpluginDing = {
6536
6534
  name: "unplugin-dingtalk",
6537
6535
  enforce: "pre",
@@ -6544,6 +6542,7 @@ var unpluginFactory = (options) => {
6544
6542
  resovedInfo.availablePort = await (0, import_get_port_please.getRandomPort)();
6545
6543
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
6546
6544
  (0, import_chii.start)({
6545
+ host: "0.0.0.0",
6547
6546
  port: resovedInfo.availablePort
6548
6547
  });
6549
6548
  }
@@ -6576,23 +6575,19 @@ var unpluginFactory = (options) => {
6576
6575
  config = _config;
6577
6576
  },
6578
6577
  async configureServer(server) {
6579
- var _a4, _b, _c;
6578
+ var _a4, _b;
6580
6579
  if (!(options == null ? void 0 : options.enable)) {
6581
6580
  return;
6582
6581
  }
6583
- const availablePort = resovedInfo.availablePort;
6584
- if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6585
- plugins.push((0, import_vite_plugin_vconsole.viteVConsole)(options == null ? void 0 : options.vconsole));
6586
- }
6587
6582
  const _printUrls = server.printUrls.bind(server);
6588
6583
  let source = `localhost:${config.server.port || 5173}`;
6589
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
6584
+ const url = (_a4 = server.resolvedUrls) == null ? void 0 : _a4.local[0];
6590
6585
  if (url) {
6591
6586
  const u = new URL(url);
6592
6587
  source = u.host;
6593
6588
  }
6594
6589
  const base = server.config.base || "/";
6595
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
6590
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
6596
6591
  server.printUrls = () => {
6597
6592
  var _a5;
6598
6593
  _printUrls();
@@ -6627,10 +6622,10 @@ var unpluginFactory = (options) => {
6627
6622
  if (enableChii) {
6628
6623
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
6629
6624
  try {
6630
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
6625
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
6631
6626
  const data = await raw.json();
6632
6627
  if ((data == null ? void 0 : data.targets.length) > 0) {
6633
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6628
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6634
6629
  res.writeHead(302, { Location: devToolsUrl });
6635
6630
  res.end();
6636
6631
  }
@@ -6693,8 +6688,7 @@ var unpluginFactory = (options) => {
6693
6688
  }
6694
6689
  }
6695
6690
  };
6696
- plugins.push(unpluginDing);
6697
- return plugins;
6691
+ return unpluginDing;
6698
6692
  };
6699
6693
  var unplugin = /* @__PURE__ */ (0, import_unplugin.createUnplugin)(unpluginFactory);
6700
6694
  var src_default = unplugin;
package/dist/astro.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  src_default
3
- } from "./chunk-XTDXIGYG.js";
3
+ } from "./chunk-E34H52KV.js";
4
4
  import "./chunk-PMOTCIQR.js";
5
5
 
6
6
  // src/astro.ts
@@ -1302,7 +1302,6 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
1302
1302
  // src/index.ts
1303
1303
  import { createUnplugin } from "unplugin";
1304
1304
  import c from "picocolors";
1305
- import { viteVConsole } from "vite-plugin-vconsole";
1306
1305
  import cookie from "cookie";
1307
1306
  import { start } from "chii";
1308
1307
  import { getRandomPort } from "get-port-please";
@@ -1322,7 +1321,6 @@ var unpluginFactory = (options) => {
1322
1321
  console.log(` ${c.yellow("DEBUG")} `, ...args);
1323
1322
  }
1324
1323
  }
1325
- const plugins = [];
1326
1324
  const unpluginDing = {
1327
1325
  name: "unplugin-dingtalk",
1328
1326
  enforce: "pre",
@@ -1335,6 +1333,7 @@ var unpluginFactory = (options) => {
1335
1333
  resovedInfo.availablePort = await getRandomPort();
1336
1334
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
1337
1335
  start({
1336
+ host: "0.0.0.0",
1338
1337
  port: resovedInfo.availablePort
1339
1338
  });
1340
1339
  }
@@ -1367,23 +1366,19 @@ var unpluginFactory = (options) => {
1367
1366
  config = _config;
1368
1367
  },
1369
1368
  async configureServer(server) {
1370
- var _a, _b, _c;
1369
+ var _a, _b;
1371
1370
  if (!(options == null ? void 0 : options.enable)) {
1372
1371
  return;
1373
1372
  }
1374
- const availablePort = resovedInfo.availablePort;
1375
- if ((options == null ? void 0 : options.enable) && ((_a = options == null ? void 0 : options.vconsole) == null ? void 0 : _a.enabled)) {
1376
- plugins.push(viteVConsole(options == null ? void 0 : options.vconsole));
1377
- }
1378
1373
  const _printUrls = server.printUrls.bind(server);
1379
1374
  let source = `localhost:${config.server.port || 5173}`;
1380
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
1375
+ const url = (_a = server.resolvedUrls) == null ? void 0 : _a.local[0];
1381
1376
  if (url) {
1382
1377
  const u = new URL(url);
1383
1378
  source = u.host;
1384
1379
  }
1385
1380
  const base = server.config.base || "/";
1386
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
1381
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
1387
1382
  server.printUrls = () => {
1388
1383
  var _a2;
1389
1384
  _printUrls();
@@ -1418,10 +1413,10 @@ var unpluginFactory = (options) => {
1418
1413
  if (enableChii) {
1419
1414
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
1420
1415
  try {
1421
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
1416
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
1422
1417
  const data = await raw.json();
1423
1418
  if ((data == null ? void 0 : data.targets.length) > 0) {
1424
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
1419
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
1425
1420
  res.writeHead(302, { Location: devToolsUrl });
1426
1421
  res.end();
1427
1422
  }
@@ -1484,8 +1479,7 @@ var unpluginFactory = (options) => {
1484
1479
  }
1485
1480
  }
1486
1481
  };
1487
- plugins.push(unpluginDing);
1488
- return plugins;
1482
+ return unpluginDing;
1489
1483
  };
1490
1484
  var unplugin = /* @__PURE__ */ createUnplugin(unpluginFactory);
1491
1485
  var src_default = unplugin;
@@ -2,7 +2,7 @@ import {
2
2
  fetch,
3
3
  resovedInfo,
4
4
  unpluginFactory
5
- } from "./chunk-XTDXIGYG.js";
5
+ } from "./chunk-E34H52KV.js";
6
6
 
7
7
  // src/webpack.ts
8
8
  import { exec } from "child_process";
@@ -0,0 +1,19 @@
1
+ import {
2
+ unpluginFactory
3
+ } from "./chunk-E34H52KV.js";
4
+
5
+ // src/vite.ts
6
+ import { createVitePlugin } from "unplugin";
7
+ import viteVConsole from "vite-plugin-vconsole";
8
+ var vite_default = (options) => {
9
+ var _a;
10
+ const plugins = [createVitePlugin(unpluginFactory)(options)];
11
+ if ((options == null ? void 0 : options.enable) && ((_a = options == null ? void 0 : options.vconsole) == null ? void 0 : _a.enabled)) {
12
+ plugins.push(viteVConsole(options == null ? void 0 : options.vconsole));
13
+ }
14
+ return plugins;
15
+ };
16
+
17
+ export {
18
+ vite_default
19
+ };
package/dist/esbuild.cjs CHANGED
@@ -6512,7 +6512,6 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
6512
6512
  // src/index.ts
6513
6513
  var import_unplugin = require("unplugin");
6514
6514
  var import_picocolors = __toESM(require("picocolors"), 1);
6515
- var import_vite_plugin_vconsole = require("vite-plugin-vconsole");
6516
6515
  var import_cookie = __toESM(require("cookie"), 1);
6517
6516
  var import_chii = require("chii");
6518
6517
  var import_get_port_please = require("get-port-please");
@@ -6532,7 +6531,6 @@ var unpluginFactory = (options) => {
6532
6531
  console.log(` ${import_picocolors.default.yellow("DEBUG")} `, ...args);
6533
6532
  }
6534
6533
  }
6535
- const plugins = [];
6536
6534
  const unpluginDing = {
6537
6535
  name: "unplugin-dingtalk",
6538
6536
  enforce: "pre",
@@ -6545,6 +6543,7 @@ var unpluginFactory = (options) => {
6545
6543
  resovedInfo.availablePort = await (0, import_get_port_please.getRandomPort)();
6546
6544
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
6547
6545
  (0, import_chii.start)({
6546
+ host: "0.0.0.0",
6548
6547
  port: resovedInfo.availablePort
6549
6548
  });
6550
6549
  }
@@ -6577,23 +6576,19 @@ var unpluginFactory = (options) => {
6577
6576
  config = _config;
6578
6577
  },
6579
6578
  async configureServer(server) {
6580
- var _a4, _b, _c;
6579
+ var _a4, _b;
6581
6580
  if (!(options == null ? void 0 : options.enable)) {
6582
6581
  return;
6583
6582
  }
6584
- const availablePort = resovedInfo.availablePort;
6585
- if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6586
- plugins.push((0, import_vite_plugin_vconsole.viteVConsole)(options == null ? void 0 : options.vconsole));
6587
- }
6588
6583
  const _printUrls = server.printUrls.bind(server);
6589
6584
  let source = `localhost:${config.server.port || 5173}`;
6590
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
6585
+ const url = (_a4 = server.resolvedUrls) == null ? void 0 : _a4.local[0];
6591
6586
  if (url) {
6592
6587
  const u = new URL(url);
6593
6588
  source = u.host;
6594
6589
  }
6595
6590
  const base = server.config.base || "/";
6596
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
6591
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
6597
6592
  server.printUrls = () => {
6598
6593
  var _a5;
6599
6594
  _printUrls();
@@ -6628,10 +6623,10 @@ var unpluginFactory = (options) => {
6628
6623
  if (enableChii) {
6629
6624
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
6630
6625
  try {
6631
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
6626
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
6632
6627
  const data = await raw.json();
6633
6628
  if ((data == null ? void 0 : data.targets.length) > 0) {
6634
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6629
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6635
6630
  res.writeHead(302, { Location: devToolsUrl });
6636
6631
  res.end();
6637
6632
  }
@@ -6694,8 +6689,7 @@ var unpluginFactory = (options) => {
6694
6689
  }
6695
6690
  }
6696
6691
  };
6697
- plugins.push(unpluginDing);
6698
- return plugins;
6692
+ return unpluginDing;
6699
6693
  };
6700
6694
 
6701
6695
  // src/esbuild.ts
package/dist/esbuild.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-XTDXIGYG.js";
3
+ } from "./chunk-E34H52KV.js";
4
4
  import "./chunk-PMOTCIQR.js";
5
5
 
6
6
  // src/esbuild.ts
package/dist/index.cjs CHANGED
@@ -6512,7 +6512,6 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
6512
6512
  // src/index.ts
6513
6513
  var import_unplugin = require("unplugin");
6514
6514
  var import_picocolors = __toESM(require("picocolors"), 1);
6515
- var import_vite_plugin_vconsole = require("vite-plugin-vconsole");
6516
6515
  var import_cookie = __toESM(require("cookie"), 1);
6517
6516
  var import_chii = require("chii");
6518
6517
  var import_get_port_please = require("get-port-please");
@@ -6532,7 +6531,6 @@ var unpluginFactory = (options) => {
6532
6531
  console.log(` ${import_picocolors.default.yellow("DEBUG")} `, ...args);
6533
6532
  }
6534
6533
  }
6535
- const plugins = [];
6536
6534
  const unpluginDing = {
6537
6535
  name: "unplugin-dingtalk",
6538
6536
  enforce: "pre",
@@ -6545,6 +6543,7 @@ var unpluginFactory = (options) => {
6545
6543
  resovedInfo.availablePort = await (0, import_get_port_please.getRandomPort)();
6546
6544
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
6547
6545
  (0, import_chii.start)({
6546
+ host: "0.0.0.0",
6548
6547
  port: resovedInfo.availablePort
6549
6548
  });
6550
6549
  }
@@ -6577,23 +6576,19 @@ var unpluginFactory = (options) => {
6577
6576
  config = _config;
6578
6577
  },
6579
6578
  async configureServer(server) {
6580
- var _a4, _b, _c;
6579
+ var _a4, _b;
6581
6580
  if (!(options == null ? void 0 : options.enable)) {
6582
6581
  return;
6583
6582
  }
6584
- const availablePort = resovedInfo.availablePort;
6585
- if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6586
- plugins.push((0, import_vite_plugin_vconsole.viteVConsole)(options == null ? void 0 : options.vconsole));
6587
- }
6588
6583
  const _printUrls = server.printUrls.bind(server);
6589
6584
  let source = `localhost:${config.server.port || 5173}`;
6590
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
6585
+ const url = (_a4 = server.resolvedUrls) == null ? void 0 : _a4.local[0];
6591
6586
  if (url) {
6592
6587
  const u = new URL(url);
6593
6588
  source = u.host;
6594
6589
  }
6595
6590
  const base = server.config.base || "/";
6596
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
6591
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
6597
6592
  server.printUrls = () => {
6598
6593
  var _a5;
6599
6594
  _printUrls();
@@ -6628,10 +6623,10 @@ var unpluginFactory = (options) => {
6628
6623
  if (enableChii) {
6629
6624
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
6630
6625
  try {
6631
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
6626
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
6632
6627
  const data = await raw.json();
6633
6628
  if ((data == null ? void 0 : data.targets.length) > 0) {
6634
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6629
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6635
6630
  res.writeHead(302, { Location: devToolsUrl });
6636
6631
  res.end();
6637
6632
  }
@@ -6694,8 +6689,7 @@ var unpluginFactory = (options) => {
6694
6689
  }
6695
6690
  }
6696
6691
  };
6697
- plugins.push(unpluginDing);
6698
- return plugins;
6692
+ return unpluginDing;
6699
6693
  };
6700
6694
  var unplugin = /* @__PURE__ */ (0, import_unplugin.createUnplugin)(unpluginFactory);
6701
6695
  var src_default = unplugin;
package/dist/index.d.cts CHANGED
@@ -8,7 +8,7 @@ import 'vite-plugin-vconsole';
8
8
  declare const resovedInfo: {
9
9
  devtoolsInstance: ChildProcess | undefined;
10
10
  availablePort: number | undefined;
11
- targetURL: URL | undefined;
11
+ targetURL: undefined | URL;
12
12
  };
13
13
  declare const unpluginFactory: UnpluginFactory<Options | undefined, boolean>;
14
14
  declare const unplugin: _unplugin.UnpluginInstance<Options | undefined, boolean>;
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ import 'vite-plugin-vconsole';
8
8
  declare const resovedInfo: {
9
9
  devtoolsInstance: ChildProcess | undefined;
10
10
  availablePort: number | undefined;
11
- targetURL: URL | undefined;
11
+ targetURL: undefined | URL;
12
12
  };
13
13
  declare const unpluginFactory: UnpluginFactory<Options | undefined, boolean>;
14
14
  declare const unplugin: _unplugin.UnpluginInstance<Options | undefined, boolean>;
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  src_default,
4
4
  unplugin,
5
5
  unpluginFactory
6
- } from "./chunk-XTDXIGYG.js";
6
+ } from "./chunk-E34H52KV.js";
7
7
  import "./chunk-PMOTCIQR.js";
8
8
  export {
9
9
  src_default as default,
package/dist/nuxt.cjs CHANGED
@@ -5215,6 +5215,7 @@ var import_kit = require("@nuxt/kit");
5215
5215
 
5216
5216
  // src/vite.ts
5217
5217
  var import_unplugin2 = require("unplugin");
5218
+ var import_vite_plugin_vconsole = __toESM(require("vite-plugin-vconsole"), 1);
5218
5219
 
5219
5220
  // src/index.ts
5220
5221
  var import_node_child_process = require("child_process");
@@ -6515,7 +6516,6 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
6515
6516
  // src/index.ts
6516
6517
  var import_unplugin = require("unplugin");
6517
6518
  var import_picocolors = __toESM(require("picocolors"), 1);
6518
- var import_vite_plugin_vconsole = require("vite-plugin-vconsole");
6519
6519
  var import_cookie = __toESM(require("cookie"), 1);
6520
6520
  var import_chii = require("chii");
6521
6521
  var import_get_port_please = require("get-port-please");
@@ -6535,7 +6535,6 @@ var unpluginFactory = (options) => {
6535
6535
  console.log(` ${import_picocolors.default.yellow("DEBUG")} `, ...args);
6536
6536
  }
6537
6537
  }
6538
- const plugins = [];
6539
6538
  const unpluginDing = {
6540
6539
  name: "unplugin-dingtalk",
6541
6540
  enforce: "pre",
@@ -6548,6 +6547,7 @@ var unpluginFactory = (options) => {
6548
6547
  resovedInfo.availablePort = await (0, import_get_port_please.getRandomPort)();
6549
6548
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
6550
6549
  (0, import_chii.start)({
6550
+ host: "0.0.0.0",
6551
6551
  port: resovedInfo.availablePort
6552
6552
  });
6553
6553
  }
@@ -6580,23 +6580,19 @@ var unpluginFactory = (options) => {
6580
6580
  config = _config;
6581
6581
  },
6582
6582
  async configureServer(server) {
6583
- var _a4, _b, _c;
6583
+ var _a4, _b;
6584
6584
  if (!(options == null ? void 0 : options.enable)) {
6585
6585
  return;
6586
6586
  }
6587
- const availablePort = resovedInfo.availablePort;
6588
- if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6589
- plugins.push((0, import_vite_plugin_vconsole.viteVConsole)(options == null ? void 0 : options.vconsole));
6590
- }
6591
6587
  const _printUrls = server.printUrls.bind(server);
6592
6588
  let source = `localhost:${config.server.port || 5173}`;
6593
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
6589
+ const url = (_a4 = server.resolvedUrls) == null ? void 0 : _a4.local[0];
6594
6590
  if (url) {
6595
6591
  const u = new URL(url);
6596
6592
  source = u.host;
6597
6593
  }
6598
6594
  const base = server.config.base || "/";
6599
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
6595
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
6600
6596
  server.printUrls = () => {
6601
6597
  var _a5;
6602
6598
  _printUrls();
@@ -6631,10 +6627,10 @@ var unpluginFactory = (options) => {
6631
6627
  if (enableChii) {
6632
6628
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
6633
6629
  try {
6634
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
6630
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
6635
6631
  const data = await raw.json();
6636
6632
  if ((data == null ? void 0 : data.targets.length) > 0) {
6637
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6633
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6638
6634
  res.writeHead(302, { Location: devToolsUrl });
6639
6635
  res.end();
6640
6636
  }
@@ -6697,12 +6693,18 @@ var unpluginFactory = (options) => {
6697
6693
  }
6698
6694
  }
6699
6695
  };
6700
- plugins.push(unpluginDing);
6701
- return plugins;
6696
+ return unpluginDing;
6702
6697
  };
6703
6698
 
6704
6699
  // src/vite.ts
6705
- var vite_default = (0, import_unplugin2.createVitePlugin)(unpluginFactory);
6700
+ var vite_default = (options) => {
6701
+ var _a4;
6702
+ const plugins = [(0, import_unplugin2.createVitePlugin)(unpluginFactory)(options)];
6703
+ if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6704
+ plugins.push((0, import_vite_plugin_vconsole.default)(options == null ? void 0 : options.vconsole));
6705
+ }
6706
+ return plugins;
6707
+ };
6706
6708
 
6707
6709
  // src/webpack.ts
6708
6710
  var import_node_child_process2 = require("child_process");
package/dist/nuxt.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  webpack_default
3
- } from "./chunk-FMGOYX4F.js";
3
+ } from "./chunk-OVAVOVTT.js";
4
4
  import {
5
5
  vite_default
6
- } from "./chunk-ZV272SZK.js";
7
- import "./chunk-XTDXIGYG.js";
6
+ } from "./chunk-Q26XYG3E.js";
7
+ import "./chunk-E34H52KV.js";
8
8
  import "./chunk-PMOTCIQR.js";
9
9
 
10
10
  // src/nuxt.ts
package/dist/rollup.cjs CHANGED
@@ -6512,7 +6512,6 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
6512
6512
  // src/index.ts
6513
6513
  var import_unplugin = require("unplugin");
6514
6514
  var import_picocolors = __toESM(require("picocolors"), 1);
6515
- var import_vite_plugin_vconsole = require("vite-plugin-vconsole");
6516
6515
  var import_cookie = __toESM(require("cookie"), 1);
6517
6516
  var import_chii = require("chii");
6518
6517
  var import_get_port_please = require("get-port-please");
@@ -6532,7 +6531,6 @@ var unpluginFactory = (options) => {
6532
6531
  console.log(` ${import_picocolors.default.yellow("DEBUG")} `, ...args);
6533
6532
  }
6534
6533
  }
6535
- const plugins = [];
6536
6534
  const unpluginDing = {
6537
6535
  name: "unplugin-dingtalk",
6538
6536
  enforce: "pre",
@@ -6545,6 +6543,7 @@ var unpluginFactory = (options) => {
6545
6543
  resovedInfo.availablePort = await (0, import_get_port_please.getRandomPort)();
6546
6544
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
6547
6545
  (0, import_chii.start)({
6546
+ host: "0.0.0.0",
6548
6547
  port: resovedInfo.availablePort
6549
6548
  });
6550
6549
  }
@@ -6577,23 +6576,19 @@ var unpluginFactory = (options) => {
6577
6576
  config = _config;
6578
6577
  },
6579
6578
  async configureServer(server) {
6580
- var _a4, _b, _c;
6579
+ var _a4, _b;
6581
6580
  if (!(options == null ? void 0 : options.enable)) {
6582
6581
  return;
6583
6582
  }
6584
- const availablePort = resovedInfo.availablePort;
6585
- if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6586
- plugins.push((0, import_vite_plugin_vconsole.viteVConsole)(options == null ? void 0 : options.vconsole));
6587
- }
6588
6583
  const _printUrls = server.printUrls.bind(server);
6589
6584
  let source = `localhost:${config.server.port || 5173}`;
6590
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
6585
+ const url = (_a4 = server.resolvedUrls) == null ? void 0 : _a4.local[0];
6591
6586
  if (url) {
6592
6587
  const u = new URL(url);
6593
6588
  source = u.host;
6594
6589
  }
6595
6590
  const base = server.config.base || "/";
6596
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
6591
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
6597
6592
  server.printUrls = () => {
6598
6593
  var _a5;
6599
6594
  _printUrls();
@@ -6628,10 +6623,10 @@ var unpluginFactory = (options) => {
6628
6623
  if (enableChii) {
6629
6624
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
6630
6625
  try {
6631
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
6626
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
6632
6627
  const data = await raw.json();
6633
6628
  if ((data == null ? void 0 : data.targets.length) > 0) {
6634
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6629
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6635
6630
  res.writeHead(302, { Location: devToolsUrl });
6636
6631
  res.end();
6637
6632
  }
@@ -6694,8 +6689,7 @@ var unpluginFactory = (options) => {
6694
6689
  }
6695
6690
  }
6696
6691
  };
6697
- plugins.push(unpluginDing);
6698
- return plugins;
6692
+ return unpluginDing;
6699
6693
  };
6700
6694
 
6701
6695
  // src/rollup.ts
package/dist/rollup.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-XTDXIGYG.js";
3
+ } from "./chunk-E34H52KV.js";
4
4
  import "./chunk-PMOTCIQR.js";
5
5
 
6
6
  // src/rollup.ts
package/dist/rspack.cjs CHANGED
@@ -6512,7 +6512,6 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
6512
6512
  // src/index.ts
6513
6513
  var import_unplugin = require("unplugin");
6514
6514
  var import_picocolors = __toESM(require("picocolors"), 1);
6515
- var import_vite_plugin_vconsole = require("vite-plugin-vconsole");
6516
6515
  var import_cookie = __toESM(require("cookie"), 1);
6517
6516
  var import_chii = require("chii");
6518
6517
  var import_get_port_please = require("get-port-please");
@@ -6532,7 +6531,6 @@ var unpluginFactory = (options) => {
6532
6531
  console.log(` ${import_picocolors.default.yellow("DEBUG")} `, ...args);
6533
6532
  }
6534
6533
  }
6535
- const plugins = [];
6536
6534
  const unpluginDing = {
6537
6535
  name: "unplugin-dingtalk",
6538
6536
  enforce: "pre",
@@ -6545,6 +6543,7 @@ var unpluginFactory = (options) => {
6545
6543
  resovedInfo.availablePort = await (0, import_get_port_please.getRandomPort)();
6546
6544
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
6547
6545
  (0, import_chii.start)({
6546
+ host: "0.0.0.0",
6548
6547
  port: resovedInfo.availablePort
6549
6548
  });
6550
6549
  }
@@ -6577,23 +6576,19 @@ var unpluginFactory = (options) => {
6577
6576
  config = _config;
6578
6577
  },
6579
6578
  async configureServer(server) {
6580
- var _a4, _b, _c;
6579
+ var _a4, _b;
6581
6580
  if (!(options == null ? void 0 : options.enable)) {
6582
6581
  return;
6583
6582
  }
6584
- const availablePort = resovedInfo.availablePort;
6585
- if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6586
- plugins.push((0, import_vite_plugin_vconsole.viteVConsole)(options == null ? void 0 : options.vconsole));
6587
- }
6588
6583
  const _printUrls = server.printUrls.bind(server);
6589
6584
  let source = `localhost:${config.server.port || 5173}`;
6590
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
6585
+ const url = (_a4 = server.resolvedUrls) == null ? void 0 : _a4.local[0];
6591
6586
  if (url) {
6592
6587
  const u = new URL(url);
6593
6588
  source = u.host;
6594
6589
  }
6595
6590
  const base = server.config.base || "/";
6596
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
6591
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
6597
6592
  server.printUrls = () => {
6598
6593
  var _a5;
6599
6594
  _printUrls();
@@ -6628,10 +6623,10 @@ var unpluginFactory = (options) => {
6628
6623
  if (enableChii) {
6629
6624
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
6630
6625
  try {
6631
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
6626
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
6632
6627
  const data = await raw.json();
6633
6628
  if ((data == null ? void 0 : data.targets.length) > 0) {
6634
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6629
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6635
6630
  res.writeHead(302, { Location: devToolsUrl });
6636
6631
  res.end();
6637
6632
  }
@@ -6694,8 +6689,7 @@ var unpluginFactory = (options) => {
6694
6689
  }
6695
6690
  }
6696
6691
  };
6697
- plugins.push(unpluginDing);
6698
- return plugins;
6692
+ return unpluginDing;
6699
6693
  };
6700
6694
 
6701
6695
  // src/rspack.ts
package/dist/rspack.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-XTDXIGYG.js";
3
+ } from "./chunk-E34H52KV.js";
4
4
  import "./chunk-PMOTCIQR.js";
5
5
 
6
6
  // src/rspack.ts
package/dist/vite.cjs CHANGED
@@ -5212,6 +5212,7 @@ __export(vite_exports, {
5212
5212
  });
5213
5213
  module.exports = __toCommonJS(vite_exports);
5214
5214
  var import_unplugin2 = require("unplugin");
5215
+ var import_vite_plugin_vconsole = __toESM(require("vite-plugin-vconsole"), 1);
5215
5216
 
5216
5217
  // src/index.ts
5217
5218
  var import_node_child_process = require("child_process");
@@ -6512,7 +6513,6 @@ function fixResponseChunkedTransferBadEnding(request, errorCallback) {
6512
6513
  // src/index.ts
6513
6514
  var import_unplugin = require("unplugin");
6514
6515
  var import_picocolors = __toESM(require("picocolors"), 1);
6515
- var import_vite_plugin_vconsole = require("vite-plugin-vconsole");
6516
6516
  var import_cookie = __toESM(require("cookie"), 1);
6517
6517
  var import_chii = require("chii");
6518
6518
  var import_get_port_please = require("get-port-please");
@@ -6532,7 +6532,6 @@ var unpluginFactory = (options) => {
6532
6532
  console.log(` ${import_picocolors.default.yellow("DEBUG")} `, ...args);
6533
6533
  }
6534
6534
  }
6535
- const plugins = [];
6536
6535
  const unpluginDing = {
6537
6536
  name: "unplugin-dingtalk",
6538
6537
  enforce: "pre",
@@ -6545,6 +6544,7 @@ var unpluginFactory = (options) => {
6545
6544
  resovedInfo.availablePort = await (0, import_get_port_please.getRandomPort)();
6546
6545
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
6547
6546
  (0, import_chii.start)({
6547
+ host: "0.0.0.0",
6548
6548
  port: resovedInfo.availablePort
6549
6549
  });
6550
6550
  }
@@ -6577,23 +6577,19 @@ var unpluginFactory = (options) => {
6577
6577
  config = _config;
6578
6578
  },
6579
6579
  async configureServer(server) {
6580
- var _a4, _b, _c;
6580
+ var _a4, _b;
6581
6581
  if (!(options == null ? void 0 : options.enable)) {
6582
6582
  return;
6583
6583
  }
6584
- const availablePort = resovedInfo.availablePort;
6585
- if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6586
- plugins.push((0, import_vite_plugin_vconsole.viteVConsole)(options == null ? void 0 : options.vconsole));
6587
- }
6588
6584
  const _printUrls = server.printUrls.bind(server);
6589
6585
  let source = `localhost:${config.server.port || 5173}`;
6590
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
6586
+ const url = (_a4 = server.resolvedUrls) == null ? void 0 : _a4.local[0];
6591
6587
  if (url) {
6592
6588
  const u = new URL(url);
6593
6589
  source = u.host;
6594
6590
  }
6595
6591
  const base = server.config.base || "/";
6596
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
6592
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
6597
6593
  server.printUrls = () => {
6598
6594
  var _a5;
6599
6595
  _printUrls();
@@ -6628,10 +6624,10 @@ var unpluginFactory = (options) => {
6628
6624
  if (enableChii) {
6629
6625
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
6630
6626
  try {
6631
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
6627
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
6632
6628
  const data = await raw.json();
6633
6629
  if ((data == null ? void 0 : data.targets.length) > 0) {
6634
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6630
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6635
6631
  res.writeHead(302, { Location: devToolsUrl });
6636
6632
  res.end();
6637
6633
  }
@@ -6694,12 +6690,18 @@ var unpluginFactory = (options) => {
6694
6690
  }
6695
6691
  }
6696
6692
  };
6697
- plugins.push(unpluginDing);
6698
- return plugins;
6693
+ return unpluginDing;
6699
6694
  };
6700
6695
 
6701
6696
  // src/vite.ts
6702
- var vite_default = (0, import_unplugin2.createVitePlugin)(unpluginFactory);
6697
+ var vite_default = (options) => {
6698
+ var _a4;
6699
+ const plugins = [(0, import_unplugin2.createVitePlugin)(unpluginFactory)(options)];
6700
+ if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6701
+ plugins.push((0, import_vite_plugin_vconsole.default)(options == null ? void 0 : options.vconsole));
6702
+ }
6703
+ return plugins;
6704
+ };
6703
6705
  /*! Bundled license information:
6704
6706
 
6705
6707
  web-streams-polyfill/dist/ponyfill.es2018.js:
package/dist/vite.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import * as vite from 'vite';
1
+ import { Plugin } from 'vite';
2
2
  import { Options } from './types.cjs';
3
3
  import 'webpack-dev-server';
4
4
  import 'vite-plugin-vconsole';
5
5
 
6
- declare const _default: (options?: Options | undefined) => vite.Plugin<any> | vite.Plugin<any>[];
6
+ declare const _default: (options: Options) => Plugin<any>[];
7
7
 
8
8
  export { _default as default };
package/dist/vite.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import * as vite from 'vite';
1
+ import { Plugin } from 'vite';
2
2
  import { Options } from './types.js';
3
3
  import 'webpack-dev-server';
4
4
  import 'vite-plugin-vconsole';
5
5
 
6
- declare const _default: (options?: Options | undefined) => vite.Plugin<any> | vite.Plugin<any>[];
6
+ declare const _default: (options: Options) => Plugin<any>[];
7
7
 
8
8
  export { _default as default };
package/dist/vite.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  vite_default
3
- } from "./chunk-ZV272SZK.js";
4
- import "./chunk-XTDXIGYG.js";
3
+ } from "./chunk-Q26XYG3E.js";
4
+ import "./chunk-E34H52KV.js";
5
5
  import "./chunk-PMOTCIQR.js";
6
6
  export {
7
7
  vite_default as default
package/dist/webpack.cjs CHANGED
@@ -6514,7 +6514,6 @@ var import_node_child_process = require("child_process");
6514
6514
  var import_node_process = __toESM(require("process"), 1);
6515
6515
  var import_unplugin = require("unplugin");
6516
6516
  var import_picocolors = __toESM(require("picocolors"), 1);
6517
- var import_vite_plugin_vconsole = require("vite-plugin-vconsole");
6518
6517
  var import_cookie = __toESM(require("cookie"), 1);
6519
6518
  var import_chii = require("chii");
6520
6519
  var import_get_port_please = require("get-port-please");
@@ -6534,7 +6533,6 @@ var unpluginFactory = (options) => {
6534
6533
  console.log(` ${import_picocolors.default.yellow("DEBUG")} `, ...args);
6535
6534
  }
6536
6535
  }
6537
- const plugins = [];
6538
6536
  const unpluginDing = {
6539
6537
  name: "unplugin-dingtalk",
6540
6538
  enforce: "pre",
@@ -6547,6 +6545,7 @@ var unpluginFactory = (options) => {
6547
6545
  resovedInfo.availablePort = await (0, import_get_port_please.getRandomPort)();
6548
6546
  debug(`chii server port: ${JSON.stringify({ availablePort: resovedInfo.availablePort })}`);
6549
6547
  (0, import_chii.start)({
6548
+ host: "0.0.0.0",
6550
6549
  port: resovedInfo.availablePort
6551
6550
  });
6552
6551
  }
@@ -6579,23 +6578,19 @@ var unpluginFactory = (options) => {
6579
6578
  config = _config;
6580
6579
  },
6581
6580
  async configureServer(server) {
6582
- var _a4, _b, _c;
6581
+ var _a4, _b;
6583
6582
  if (!(options == null ? void 0 : options.enable)) {
6584
6583
  return;
6585
6584
  }
6586
- const availablePort = resovedInfo.availablePort;
6587
- if ((options == null ? void 0 : options.enable) && ((_a4 = options == null ? void 0 : options.vconsole) == null ? void 0 : _a4.enabled)) {
6588
- plugins.push((0, import_vite_plugin_vconsole.viteVConsole)(options == null ? void 0 : options.vconsole));
6589
- }
6590
6585
  const _printUrls = server.printUrls.bind(server);
6591
6586
  let source = `localhost:${config.server.port || 5173}`;
6592
- const url = (_b = server.resolvedUrls) == null ? void 0 : _b.local[0];
6587
+ const url = (_a4 = server.resolvedUrls) == null ? void 0 : _a4.local[0];
6593
6588
  if (url) {
6594
6589
  const u = new URL(url);
6595
6590
  source = u.host;
6596
6591
  }
6597
6592
  const base = server.config.base || "/";
6598
- const _targetUrl = (_c = options == null ? void 0 : options.targetUrl) != null ? _c : `http://${source}${base}`;
6593
+ const _targetUrl = (_b = options == null ? void 0 : options.targetUrl) != null ? _b : `http://${source}${base}`;
6599
6594
  server.printUrls = () => {
6600
6595
  var _a5;
6601
6596
  _printUrls();
@@ -6630,10 +6625,10 @@ var unpluginFactory = (options) => {
6630
6625
  if (enableChii) {
6631
6626
  server.middlewares.use("/__chrome_devtools", async (_req, res) => {
6632
6627
  try {
6633
- const raw = await fetch(`http://localhost:${availablePort}/targets`);
6628
+ const raw = await fetch(`http://localhost:${resovedInfo.availablePort}/targets`);
6634
6629
  const data = await raw.json();
6635
6630
  if ((data == null ? void 0 : data.targets.length) > 0) {
6636
- const devToolsUrl = `http://localhost:${availablePort}/front_end/chii_app.html?ws=localhost:${availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6631
+ const devToolsUrl = `http://localhost:${resovedInfo.availablePort}/front_end/chii_app.html?ws=localhost:${resovedInfo.availablePort}/client/${Math.random().toString(20).substring(2, 8)}?target=${data.targets[0].id}&rtc=false`;
6637
6632
  res.writeHead(302, { Location: devToolsUrl });
6638
6633
  res.end();
6639
6634
  }
@@ -6696,8 +6691,7 @@ var unpluginFactory = (options) => {
6696
6691
  }
6697
6692
  }
6698
6693
  };
6699
- plugins.push(unpluginDing);
6700
- return plugins;
6694
+ return unpluginDing;
6701
6695
  };
6702
6696
 
6703
6697
  // src/webpack.ts
package/dist/webpack.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  webpack_default
3
- } from "./chunk-FMGOYX4F.js";
4
- import "./chunk-XTDXIGYG.js";
3
+ } from "./chunk-OVAVOVTT.js";
4
+ import "./chunk-E34H52KV.js";
5
5
  import "./chunk-PMOTCIQR.js";
6
6
  export {
7
7
  webpack_default as default
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unplugin-dingtalk",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/zcf0508/unplugin-dingtalk#readme",
@@ -1,11 +0,0 @@
1
- import {
2
- unpluginFactory
3
- } from "./chunk-XTDXIGYG.js";
4
-
5
- // src/vite.ts
6
- import { createVitePlugin } from "unplugin";
7
- var vite_default = createVitePlugin(unpluginFactory);
8
-
9
- export {
10
- vite_default
11
- };