@torpor/view 0.4.10 → 0.4.11

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/compile.js CHANGED
@@ -1808,7 +1808,7 @@ function buildTemplate(template, map, imports, b, options) {
1808
1808
  if (/\$run\b/.test(script)) imports.add("$run");
1809
1809
  if (/\$mount\b/.test(script)) imports.add("$mount");
1810
1810
  if (/\$unwrap\b/.test(script)) imports.add("$unwrap");
1811
- imports.add("$peek");
1811
+ if (/\$peek\b/.test(script)) imports.add("$peek");
1812
1812
  if (/\$batch\b/.test(script)) imports.add("$batch");
1813
1813
  let currentIndex = 0;
1814
1814
  let current = template.components[0];