@barefootjs/vite 0.31.5 → 0.31.6

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.js +2 -0
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -4239,6 +4239,8 @@ function generateCsrTemplateWithOpts(node, opts) {
4239
4239
  if (node.expr === "null" || node.expr === "undefined")
4240
4240
  return "";
4241
4241
  if (node.clientOnly && node.slotId) {
4242
+ if (node.markerless)
4243
+ return "";
4242
4244
  return `<!--bf:${node.slotId}--><!--/-->`;
4243
4245
  }
4244
4246
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/vite",
3
- "version": "0.31.5",
3
+ "version": "0.31.6",
4
4
  "description": "Vite plugin for BarefootJS: Vite/Rollup owns bundling, hashing, chunking, tree-shaking and minification of client assets, BarefootJS keeps only the JSX to (template, client JS) compile",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,17 +38,17 @@
38
38
  "directory": "packages/vite"
39
39
  },
40
40
  "dependencies": {
41
- "@barefootjs/shared": "0.31.5"
41
+ "@barefootjs/shared": "0.31.6"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@barefootjs/jsx": ">=0.2.0",
45
45
  "vite": "^6.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@barefootjs/client": "0.31.5",
49
- "@barefootjs/go-template": "0.31.5",
50
- "@barefootjs/hono": "0.31.5",
51
- "@barefootjs/jsx": "0.31.5",
48
+ "@barefootjs/client": "0.31.6",
49
+ "@barefootjs/go-template": "0.31.6",
50
+ "@barefootjs/hono": "0.31.6",
51
+ "@barefootjs/jsx": "0.31.6",
52
52
  "typescript": "^5.0.0",
53
53
  "vite": "^6.0.0"
54
54
  }