@motifx/compiler 1.2.0-rc.3 → 1.2.0-rc.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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -430,7 +430,7 @@ const motifComponent = () => { return "_mc"; };
|
|
|
430
430
|
const motifFragment = () => { return "_mf"; };
|
|
431
431
|
const motifFunctionComponent = () => { return "_mfc"; };
|
|
432
432
|
const motifCompiled = () => { return "_mv"; };
|
|
433
|
-
const COMPILER_CONTRACT =
|
|
433
|
+
const COMPILER_CONTRACT = 1;
|
|
434
434
|
|
|
435
435
|
let active$1 = null;
|
|
436
436
|
let seen = null;
|
|
@@ -3167,7 +3167,7 @@ class Compiler {
|
|
|
3167
3167
|
return;
|
|
3168
3168
|
if (!t.isArrowFunctionExpression(only.value) && !t.isFunctionExpression(only.value))
|
|
3169
3169
|
return;
|
|
3170
|
-
node.arguments
|
|
3170
|
+
node.arguments.push(t.numericLiteral(1));
|
|
3171
3171
|
}
|
|
3172
3172
|
});
|
|
3173
3173
|
absorbGeneratedCoreImports(topLevel, coreImports);
|