@marko/vite 5.3.1 → 5.3.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -717,12 +717,13 @@ var render_assets_transform_default = (tag, t3) => {
717
717
  };
718
718
  function renderAssetsCall(t3, slot) {
719
719
  return t3.markoPlaceholder(
720
- t3.callExpression(
720
+ t3.optionalCallExpression(
721
721
  t3.memberExpression(
722
722
  t3.identifier("$global"),
723
723
  t3.identifier("___viteRenderAssets")
724
724
  ),
725
- [t3.stringLiteral(slot)]
725
+ [t3.stringLiteral(slot)],
726
+ true
726
727
  ),
727
728
  false
728
729
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/vite",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "description": "A Marko plugin for Vite",
5
5
  "keywords": [
6
6
  "loader",