marko 5.37.22 → 5.37.23
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/translator/index.js
CHANGED
|
@@ -457,13 +457,15 @@ const translate = exports.translate = {
|
|
|
457
457
|
if (meta.implicitSplitComponent && isHTML) {
|
|
458
458
|
renderBlock.unshiftContainer(
|
|
459
459
|
"body",
|
|
460
|
-
_compiler.types.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
460
|
+
_compiler.types.expressionStatement(
|
|
461
|
+
_compiler.types.callExpression(
|
|
462
|
+
(0, _babelUtils.importDefault)(
|
|
463
|
+
file,
|
|
464
|
+
"marko/src/runtime/helpers/skip-serialize.js",
|
|
465
|
+
"marko_skip_serialize"
|
|
466
|
+
),
|
|
467
|
+
[_compiler.types.identifier("input")]
|
|
468
|
+
)
|
|
467
469
|
)
|
|
468
470
|
);
|
|
469
471
|
}
|
package/package.json
CHANGED
package/src/translator/index.js
CHANGED
|
@@ -457,13 +457,15 @@ export const translate = {
|
|
|
457
457
|
if (meta.implicitSplitComponent && isHTML) {
|
|
458
458
|
renderBlock.unshiftContainer(
|
|
459
459
|
"body",
|
|
460
|
-
t.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
460
|
+
t.expressionStatement(
|
|
461
|
+
t.callExpression(
|
|
462
|
+
importDefault(
|
|
463
|
+
file,
|
|
464
|
+
"marko/src/runtime/helpers/skip-serialize.js",
|
|
465
|
+
"marko_skip_serialize",
|
|
466
|
+
),
|
|
467
|
+
[t.identifier("input")],
|
|
465
468
|
),
|
|
466
|
-
[t.identifier("input")],
|
|
467
469
|
),
|
|
468
470
|
);
|
|
469
471
|
}
|