unplugin-dingtalk 0.5.2 → 0.5.5
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 +2 -2
- package/dist/astro.js +1 -1
- package/dist/{chunk-QU7HLXVD.js → chunk-2MTCPWWF.js} +2 -2
- package/dist/{chunk-VQXY6FXR.js → chunk-JXEH4EKT.js} +1 -1
- package/dist/esbuild.cjs +2 -2
- package/dist/esbuild.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/nuxt.cjs +2 -2
- package/dist/nuxt.js +2 -2
- package/dist/rollup.cjs +2 -2
- package/dist/rollup.js +1 -1
- package/dist/rspack.cjs +2 -2
- package/dist/rspack.js +1 -1
- package/dist/vite.cjs +2 -2
- package/dist/vite.js +2 -2
- package/dist/webpack.cjs +2 -2
- package/dist/webpack.js +1 -1
- package/package.json +1 -1
package/dist/astro.cjs
CHANGED
|
@@ -6650,14 +6650,14 @@ var unpluginFactory = (options) => {
|
|
|
6650
6650
|
config = _config;
|
|
6651
6651
|
},
|
|
6652
6652
|
transformIndexHtml(html) {
|
|
6653
|
-
if (enableChii) {
|
|
6653
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
6654
6654
|
return html.replace(
|
|
6655
6655
|
"</body>",
|
|
6656
6656
|
`</body>
|
|
6657
6657
|
<script>
|
|
6658
6658
|
(() => {
|
|
6659
6659
|
const script = document.createElement('script');
|
|
6660
|
-
script.src="
|
|
6660
|
+
script.src="/__chii_proxy/target.js";
|
|
6661
6661
|
document.body.appendChild(script);
|
|
6662
6662
|
})()
|
|
6663
6663
|
</script>
|
package/dist/astro.js
CHANGED
|
@@ -1438,14 +1438,14 @@ var unpluginFactory = (options) => {
|
|
|
1438
1438
|
config = _config;
|
|
1439
1439
|
},
|
|
1440
1440
|
transformIndexHtml(html) {
|
|
1441
|
-
if (enableChii) {
|
|
1441
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
1442
1442
|
return html.replace(
|
|
1443
1443
|
"</body>",
|
|
1444
1444
|
`</body>
|
|
1445
1445
|
<script>
|
|
1446
1446
|
(() => {
|
|
1447
1447
|
const script = document.createElement('script');
|
|
1448
|
-
script.src="
|
|
1448
|
+
script.src="/__chii_proxy/target.js";
|
|
1449
1449
|
document.body.appendChild(script);
|
|
1450
1450
|
})()
|
|
1451
1451
|
</script>
|
package/dist/esbuild.cjs
CHANGED
|
@@ -6651,14 +6651,14 @@ var unpluginFactory = (options) => {
|
|
|
6651
6651
|
config = _config;
|
|
6652
6652
|
},
|
|
6653
6653
|
transformIndexHtml(html) {
|
|
6654
|
-
if (enableChii) {
|
|
6654
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
6655
6655
|
return html.replace(
|
|
6656
6656
|
"</body>",
|
|
6657
6657
|
`</body>
|
|
6658
6658
|
<script>
|
|
6659
6659
|
(() => {
|
|
6660
6660
|
const script = document.createElement('script');
|
|
6661
|
-
script.src="
|
|
6661
|
+
script.src="/__chii_proxy/target.js";
|
|
6662
6662
|
document.body.appendChild(script);
|
|
6663
6663
|
})()
|
|
6664
6664
|
</script>
|
package/dist/esbuild.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -6653,14 +6653,14 @@ var unpluginFactory = (options) => {
|
|
|
6653
6653
|
config = _config;
|
|
6654
6654
|
},
|
|
6655
6655
|
transformIndexHtml(html) {
|
|
6656
|
-
if (enableChii) {
|
|
6656
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
6657
6657
|
return html.replace(
|
|
6658
6658
|
"</body>",
|
|
6659
6659
|
`</body>
|
|
6660
6660
|
<script>
|
|
6661
6661
|
(() => {
|
|
6662
6662
|
const script = document.createElement('script');
|
|
6663
|
-
script.src="
|
|
6663
|
+
script.src="/__chii_proxy/target.js";
|
|
6664
6664
|
document.body.appendChild(script);
|
|
6665
6665
|
})()
|
|
6666
6666
|
</script>
|
package/dist/index.js
CHANGED
package/dist/nuxt.cjs
CHANGED
|
@@ -6655,14 +6655,14 @@ var unpluginFactory = (options) => {
|
|
|
6655
6655
|
config = _config;
|
|
6656
6656
|
},
|
|
6657
6657
|
transformIndexHtml(html) {
|
|
6658
|
-
if (enableChii) {
|
|
6658
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
6659
6659
|
return html.replace(
|
|
6660
6660
|
"</body>",
|
|
6661
6661
|
`</body>
|
|
6662
6662
|
<script>
|
|
6663
6663
|
(() => {
|
|
6664
6664
|
const script = document.createElement('script');
|
|
6665
|
-
script.src="
|
|
6665
|
+
script.src="/__chii_proxy/target.js";
|
|
6666
6666
|
document.body.appendChild(script);
|
|
6667
6667
|
})()
|
|
6668
6668
|
</script>
|
package/dist/nuxt.js
CHANGED
package/dist/rollup.cjs
CHANGED
|
@@ -6651,14 +6651,14 @@ var unpluginFactory = (options) => {
|
|
|
6651
6651
|
config = _config;
|
|
6652
6652
|
},
|
|
6653
6653
|
transformIndexHtml(html) {
|
|
6654
|
-
if (enableChii) {
|
|
6654
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
6655
6655
|
return html.replace(
|
|
6656
6656
|
"</body>",
|
|
6657
6657
|
`</body>
|
|
6658
6658
|
<script>
|
|
6659
6659
|
(() => {
|
|
6660
6660
|
const script = document.createElement('script');
|
|
6661
|
-
script.src="
|
|
6661
|
+
script.src="/__chii_proxy/target.js";
|
|
6662
6662
|
document.body.appendChild(script);
|
|
6663
6663
|
})()
|
|
6664
6664
|
</script>
|
package/dist/rollup.js
CHANGED
package/dist/rspack.cjs
CHANGED
|
@@ -6651,14 +6651,14 @@ var unpluginFactory = (options) => {
|
|
|
6651
6651
|
config = _config;
|
|
6652
6652
|
},
|
|
6653
6653
|
transformIndexHtml(html) {
|
|
6654
|
-
if (enableChii) {
|
|
6654
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
6655
6655
|
return html.replace(
|
|
6656
6656
|
"</body>",
|
|
6657
6657
|
`</body>
|
|
6658
6658
|
<script>
|
|
6659
6659
|
(() => {
|
|
6660
6660
|
const script = document.createElement('script');
|
|
6661
|
-
script.src="
|
|
6661
|
+
script.src="/__chii_proxy/target.js";
|
|
6662
6662
|
document.body.appendChild(script);
|
|
6663
6663
|
})()
|
|
6664
6664
|
</script>
|
package/dist/rspack.js
CHANGED
package/dist/vite.cjs
CHANGED
|
@@ -6652,14 +6652,14 @@ var unpluginFactory = (options) => {
|
|
|
6652
6652
|
config = _config;
|
|
6653
6653
|
},
|
|
6654
6654
|
transformIndexHtml(html) {
|
|
6655
|
-
if (enableChii) {
|
|
6655
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
6656
6656
|
return html.replace(
|
|
6657
6657
|
"</body>",
|
|
6658
6658
|
`</body>
|
|
6659
6659
|
<script>
|
|
6660
6660
|
(() => {
|
|
6661
6661
|
const script = document.createElement('script');
|
|
6662
|
-
script.src="
|
|
6662
|
+
script.src="/__chii_proxy/target.js";
|
|
6663
6663
|
document.body.appendChild(script);
|
|
6664
6664
|
})()
|
|
6665
6665
|
</script>
|
package/dist/vite.js
CHANGED
package/dist/webpack.cjs
CHANGED
|
@@ -6651,14 +6651,14 @@ var unpluginFactory = (options) => {
|
|
|
6651
6651
|
config = _config;
|
|
6652
6652
|
},
|
|
6653
6653
|
transformIndexHtml(html) {
|
|
6654
|
-
if (enableChii) {
|
|
6654
|
+
if ((options == null ? void 0 : options.enable) && enableChii) {
|
|
6655
6655
|
return html.replace(
|
|
6656
6656
|
"</body>",
|
|
6657
6657
|
`</body>
|
|
6658
6658
|
<script>
|
|
6659
6659
|
(() => {
|
|
6660
6660
|
const script = document.createElement('script');
|
|
6661
|
-
script.src="
|
|
6661
|
+
script.src="/__chii_proxy/target.js";
|
|
6662
6662
|
document.body.appendChild(script);
|
|
6663
6663
|
})()
|
|
6664
6664
|
</script>
|
package/dist/webpack.js
CHANGED