@jsenv/core 37.1.2 → 37.1.3
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/jsenv_core.js
CHANGED
|
@@ -18732,9 +18732,13 @@ const jsenvPluginRibbon = ({
|
|
|
18732
18732
|
appliesDuring: "dev",
|
|
18733
18733
|
transformUrlContent: {
|
|
18734
18734
|
html: (urlInfo) => {
|
|
18735
|
+
const jsenvToolbarHtmlClientFileUrl = urlInfo.context.getPluginMeta(
|
|
18736
|
+
"jsenvToolbarHtmlClientFileUrl",
|
|
18737
|
+
);
|
|
18735
18738
|
if (
|
|
18736
|
-
|
|
18737
|
-
|
|
18739
|
+
jsenvToolbarHtmlClientFileUrl &&
|
|
18740
|
+
// startsWith to ignore search params
|
|
18741
|
+
urlInfo.url.startsWith(jsenvToolbarHtmlClientFileUrl)
|
|
18738
18742
|
) {
|
|
18739
18743
|
return null;
|
|
18740
18744
|
}
|
package/package.json
CHANGED
|
@@ -25,9 +25,13 @@ export const jsenvPluginRibbon = ({
|
|
|
25
25
|
appliesDuring: "dev",
|
|
26
26
|
transformUrlContent: {
|
|
27
27
|
html: (urlInfo) => {
|
|
28
|
+
const jsenvToolbarHtmlClientFileUrl = urlInfo.context.getPluginMeta(
|
|
29
|
+
"jsenvToolbarHtmlClientFileUrl",
|
|
30
|
+
);
|
|
28
31
|
if (
|
|
29
|
-
|
|
30
|
-
|
|
32
|
+
jsenvToolbarHtmlClientFileUrl &&
|
|
33
|
+
// startsWith to ignore search params
|
|
34
|
+
urlInfo.url.startsWith(jsenvToolbarHtmlClientFileUrl)
|
|
31
35
|
) {
|
|
32
36
|
return null;
|
|
33
37
|
}
|