@jsenv/plugin-toolbar 1.2.3 → 1.2.4

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.
@@ -18,6 +18,9 @@ const jsenvPluginToolbar = ({
18
18
  },
19
19
  transformUrlContent: {
20
20
  html: urlInfo => {
21
+ if (urlInfo.url.startsWith(toolbarHtmlClientFileUrl)) {
22
+ return null;
23
+ }
21
24
  const htmlAst = parseHtmlString(urlInfo.content);
22
25
  const toolbarInjectorReference = urlInfo.dependencies.inject({
23
26
  type: "js_import",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/plugin-toolbar",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,6 +30,9 @@ export const jsenvPluginToolbar = ({
30
30
  },
31
31
  transformUrlContent: {
32
32
  html: (urlInfo) => {
33
+ if (urlInfo.url.startsWith(toolbarHtmlClientFileUrl)) {
34
+ return null;
35
+ }
33
36
  const htmlAst = parseHtmlString(urlInfo.content);
34
37
  const toolbarInjectorReference = urlInfo.dependencies.inject({
35
38
  type: "js_import",