unplugin-dingtalk 1006.0.0 → 1007.0.0
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/{chunk-2YQKM4BX.js → __chrome_devtools-CIQ5zFZx.js} +11 -12
- package/dist/__chrome_devtools-CJ3sXpVj.cjs +95 -0
- package/dist/__chrome_devtools.cjs +2 -114
- package/dist/__chrome_devtools.d.cts +3 -2
- package/dist/__chrome_devtools.d.ts +3 -2
- package/dist/__chrome_devtools.js +3 -7
- package/dist/astro.cjs +12 -676
- package/dist/astro.d.cts +7 -10
- package/dist/astro.d.ts +8 -10
- package/dist/astro.js +12 -17
- package/dist/chunk-CUT6urMc.cjs +30 -0
- package/dist/esbuild.cjs +9 -667
- package/dist/esbuild.d.cts +5 -8
- package/dist/esbuild.d.ts +6 -8
- package/dist/esbuild.js +8 -10
- package/dist/index.cjs +10 -676
- package/dist/index.d.cts +11 -13
- package/dist/index.d.ts +11 -13
- package/dist/index.js +5 -16
- package/dist/inject-script.cjs +15 -0
- package/dist/inject-script.d.cts +3 -0
- package/dist/inject-script.d.ts +4 -0
- package/dist/inject-script.js +14 -0
- package/dist/main-BvTybYko.js +99 -0
- package/dist/main-DQgEHuwp.cjs +101 -0
- package/dist/nuxt.cjs +459 -825
- package/dist/nuxt.d.cts +7 -10
- package/dist/nuxt.d.ts +7 -10
- package/dist/nuxt.js +474 -24
- package/dist/rollup.cjs +9 -667
- package/dist/rollup.d.cts +5 -8
- package/dist/rollup.d.ts +6 -8
- package/dist/rollup.js +8 -10
- package/dist/rspack.cjs +54 -728
- package/dist/rspack.d.cts +5 -8
- package/dist/rspack.d.ts +6 -8
- package/dist/rspack.js +50 -74
- package/dist/src-BVX_Roo9.js +364 -0
- package/dist/src-hLDO4Q22.cjs +394 -0
- package/dist/types-D6mfGNG_.d.ts +38 -0
- package/dist/types-DodDHiEA.d.cts +38 -0
- package/dist/types.cjs +0 -19
- package/dist/types.d.cts +2 -38
- package/dist/types.d.ts +2 -38
- package/dist/types.js +1 -0
- package/dist/utils-Chlbb6jf.js +23 -0
- package/dist/utils-CmfBxo4J.cjs +41 -0
- package/dist/utils.cjs +4 -33
- package/dist/utils.d.cts +6 -3
- package/dist/utils.d.ts +6 -3
- package/dist/utils.js +3 -7
- package/dist/vite-CKIDsKJ-.cjs +24 -0
- package/dist/vite-DoBUfGyY.js +18 -0
- package/dist/vite.cjs +5 -824
- package/dist/vite.d.cts +4 -7
- package/dist/vite.d.ts +5 -7
- package/dist/vite.js +6 -10
- package/dist/webpack.cjs +52 -722
- package/dist/webpack.d.cts +5 -8
- package/dist/webpack.d.ts +6 -8
- package/dist/webpack.js +48 -68
- package/package.json +12 -10
- package/dist/chunk-5JBD5THX.js +0 -20
- package/dist/chunk-EG2ZYJ3S.js +0 -542
- package/dist/chunk-KQOHODTC.js +0 -9
- package/dist/chunk-LMNMIIAV.js +0 -26
- package/dist/main-Q4R5NCQC.js +0 -129
package/dist/utils.d.cts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
//#region src/utils.d.ts
|
|
1
2
|
type Awaitable<T> = T | Promise<T>;
|
|
2
3
|
declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
3
|
-
|
|
4
|
+
default: infer U;
|
|
4
5
|
} ? U : T>;
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
declare const colorUrl: (url: string) => string;
|
|
7
|
+
declare function isNuxtProject(): boolean;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Awaitable, colorUrl, interopDefault, isNuxtProject };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
//#region src/utils.d.ts
|
|
1
2
|
type Awaitable<T> = T | Promise<T>;
|
|
2
3
|
declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
3
|
-
|
|
4
|
+
default: infer U;
|
|
4
5
|
} ? U : T>;
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
declare const colorUrl: (url: string) => string;
|
|
7
|
+
declare function isNuxtProject(): boolean;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Awaitable, colorUrl, interopDefault, isNuxtProject };
|
package/dist/utils.js
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_src = require('./src-hLDO4Q22.cjs');
|
|
3
|
+
const require_utils = require('./utils-CmfBxo4J.cjs');
|
|
4
|
+
const unplugin = require_chunk.__toESM(require("unplugin"));
|
|
5
|
+
|
|
6
|
+
//#region src/vite.ts
|
|
7
|
+
var vite_default = async (options) => {
|
|
8
|
+
const plugins = [(0, unplugin.createVitePlugin)(require_src.unpluginFactory)(options)];
|
|
9
|
+
if (options?.enable && options?.vconsole?.enabled) try {
|
|
10
|
+
const viteVConsilePlugin = await require_utils.interopDefault(Promise.resolve().then(() => require("./main-DQgEHuwp.cjs")));
|
|
11
|
+
plugins.push(viteVConsilePlugin(options?.vconsole));
|
|
12
|
+
} catch (e) {
|
|
13
|
+
console.error("vite-plugin-vconsole not found");
|
|
14
|
+
}
|
|
15
|
+
return plugins;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
Object.defineProperty(exports, 'vite_default', {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () {
|
|
22
|
+
return vite_default;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { unpluginFactory } from "./src-BVX_Roo9.js";
|
|
2
|
+
import { interopDefault } from "./utils-Chlbb6jf.js";
|
|
3
|
+
import { createVitePlugin } from "unplugin";
|
|
4
|
+
|
|
5
|
+
//#region src/vite.ts
|
|
6
|
+
var vite_default = async (options) => {
|
|
7
|
+
const plugins = [createVitePlugin(unpluginFactory)(options)];
|
|
8
|
+
if (options?.enable && options?.vconsole?.enabled) try {
|
|
9
|
+
const viteVConsilePlugin = await interopDefault(import("./main-BvTybYko.js"));
|
|
10
|
+
plugins.push(viteVConsilePlugin(options?.vconsole));
|
|
11
|
+
} catch (e) {
|
|
12
|
+
console.error("vite-plugin-vconsole not found");
|
|
13
|
+
}
|
|
14
|
+
return plugins;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { vite_default };
|