chocola 1.1.7 → 1.1.8

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/compiler/index.js CHANGED
@@ -120,6 +120,8 @@ export default async function runtime(__rootdir) {
120
120
  const tagName = el.tagName.toLowerCase();
121
121
  const compName = tagName + ".js";
122
122
 
123
+ if (!loadedComponents[compName]) return;
124
+
123
125
  const ctx = {};
124
126
  for (const attr of el.attributes) {
125
127
  if (attr.name.startsWith("ctx.")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chocola",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Chocola pipeline for web apps.",
5
5
  "keywords": [
6
6
  "web",