@immense/vue-pom-generator 1.0.102 → 1.0.103
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/RELEASE_NOTES.md +12 -34
- package/dist/index.cjs +13 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +13 -10
- package/dist/index.mjs.map +1 -1
- package/dist/plugin/runtime/annotator/plugin.d.ts.map +1 -1
- package/package.json +1 -1
- package/plugin/runtime/annotator/plugin.ts +16 -13
package/dist/index.mjs
CHANGED
|
@@ -10991,17 +10991,20 @@ ${code}`,
|
|
|
10991
10991
|
map: null
|
|
10992
10992
|
};
|
|
10993
10993
|
},
|
|
10994
|
-
transformIndexHtml
|
|
10995
|
-
|
|
10996
|
-
|
|
10994
|
+
transformIndexHtml: {
|
|
10995
|
+
order: "pre",
|
|
10996
|
+
handler() {
|
|
10997
|
+
if (!options.enabled) {
|
|
10998
|
+
return void 0;
|
|
10999
|
+
}
|
|
11000
|
+
const tag = {
|
|
11001
|
+
tag: "script",
|
|
11002
|
+
attrs: { type: "module" },
|
|
11003
|
+
children: `import ${JSON.stringify(ANNOTATOR_CLIENT_VIRTUAL_ID)};`,
|
|
11004
|
+
injectTo: "body"
|
|
11005
|
+
};
|
|
11006
|
+
return [tag];
|
|
10997
11007
|
}
|
|
10998
|
-
const tag = {
|
|
10999
|
-
tag: "script",
|
|
11000
|
-
attrs: { type: "module" },
|
|
11001
|
-
children: `import ${JSON.stringify(ANNOTATOR_CLIENT_VIRTUAL_ID)};`,
|
|
11002
|
-
injectTo: "body"
|
|
11003
|
-
};
|
|
11004
|
-
return [tag];
|
|
11005
11008
|
}
|
|
11006
11009
|
};
|
|
11007
11010
|
}
|