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.
@@ -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
package/dist/index.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
vDebugger
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-NUUDR57M.js";
|
4
4
|
import {
|
5
5
|
vDebugger as vDebugger2
|
6
|
-
} from "./chunk-
|
7
|
-
import "./chunk-
|
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