vite-plugin-debugger 0.3.1 → 0.3.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.
@@ -2,7 +2,7 @@ import {
2
2
  isPackageExists,
3
3
  readFileContent,
4
4
  transformCDN
5
- } from "./chunk-UKUUEXI7.js";
5
+ } from "./chunk-VQAYNSKK.js";
6
6
 
7
7
  // src/plugins/vconsole.ts
8
8
  import { normalizePath } from "vite";
@@ -2,7 +2,7 @@ import {
2
2
  isPackageExists,
3
3
  readFileContent,
4
4
  transformCDN
5
- } from "./chunk-UKUUEXI7.js";
5
+ } from "./chunk-VQAYNSKK.js";
6
6
 
7
7
  // src/plugins/eruda.ts
8
8
  import { normalizePath } from "vite";
@@ -7195,10 +7195,10 @@ var isPackageListedSync = isPackageListed.sync;
7195
7195
  import { readFileSync } from "node:fs";
7196
7196
  import { fileURLToPath as fileURLToPath3 } from "node:url";
7197
7197
  var transformCDN = async (pkg, cdn) => {
7198
- if (["eruda", "vConsole"].includes(pkg)) {
7198
+ if (!["eruda", "vConsole"].includes(pkg)) {
7199
7199
  throw new Error(`The package "${pkg}" is not supported for CDN transformation.`);
7200
7200
  }
7201
- if (["jsdelivr", "unpkg", "cdnjs", "staticfile"].includes(cdn)) {
7201
+ if (!["jsdelivr", "unpkg", "cdnjs", "staticfile"].includes(cdn)) {
7202
7202
  throw new Error(`The CDN "${cdn}" is not supported for "${pkg}".`);
7203
7203
  }
7204
7204
  if (cdn === "jsdelivr") {
package/dist/eruda.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  eruda_default,
3
3
  vDebugger
4
- } from "./chunk-X6FL4XDU.js";
5
- import "./chunk-UKUUEXI7.js";
4
+ } from "./chunk-NUUDR57M.js";
5
+ import "./chunk-VQAYNSKK.js";
6
6
  export {
7
7
  eruda_default as default,
8
8
  vDebugger
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  vDebugger
3
- } from "./chunk-X6FL4XDU.js";
3
+ } from "./chunk-NUUDR57M.js";
4
4
  import {
5
5
  vDebugger as vDebugger2
6
- } from "./chunk-EPGFZDIC.js";
7
- import "./chunk-UKUUEXI7.js";
6
+ } from "./chunk-IRNZNPGP.js";
7
+ import "./chunk-VQAYNSKK.js";
8
8
  export {
9
9
  vDebugger as eruda,
10
10
  vDebugger2 as vConsole
package/dist/vconsole.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  vDebugger,
3
3
  vconsole_default
4
- } from "./chunk-EPGFZDIC.js";
5
- import "./chunk-UKUUEXI7.js";
4
+ } from "./chunk-IRNZNPGP.js";
5
+ import "./chunk-VQAYNSKK.js";
6
6
  export {
7
7
  vconsole_default as default,
8
8
  vDebugger
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-debugger",
3
3
  "type": "module",
4
- "version": "0.3.1",
4
+ "version": "0.3.2",
5
5
  "description": "A vite plugin provide the debugger tools for mobile devices.",
6
6
  "author": "jade-gjz",
7
7
  "license": "MIT",