babel-plugin-jsx-dom-expressions 0.32.7 → 0.32.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.
Files changed (2) hide show
  1. package/index.js +10 -6
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1295,12 +1295,16 @@ function appendTemplates$1(path, templates) {
1295
1295
  };
1296
1296
  return t__namespace.variableDeclarator(
1297
1297
  template.id,
1298
- t__namespace.callExpression(
1299
- registerImportMethod(path, "template"),
1300
- [
1301
- t__namespace.templateLiteral([t__namespace.templateElement(tmpl, true)], []),
1302
- t__namespace.numericLiteral(template.elementCount)
1303
- ].concat(template.isSVG ? t__namespace.booleanLiteral(template.isSVG) : [])
1298
+ t__namespace.addComment(
1299
+ t__namespace.callExpression(
1300
+ registerImportMethod(path, "template"),
1301
+ [
1302
+ t__namespace.templateLiteral([t__namespace.templateElement(tmpl, true)], []),
1303
+ t__namespace.numericLiteral(template.elementCount)
1304
+ ].concat(template.isSVG ? t__namespace.booleanLiteral(template.isSVG) : [])
1305
+ ),
1306
+ 'leading',
1307
+ '#__PURE__'
1304
1308
  )
1305
1309
  );
1306
1310
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "babel-plugin-jsx-dom-expressions",
3
3
  "description": "A JSX to DOM plugin that wraps expressions for fine grained change detection",
4
- "version": "0.32.7",
4
+ "version": "0.32.8",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -23,5 +23,5 @@
23
23
  "@babel/types": "^7.16.0",
24
24
  "html-entities": "2.3.2"
25
25
  },
26
- "gitHead": "3acfcd6802238e587e01ebcc1d1a89459a1a07a9"
26
+ "gitHead": "eb04f05afe9f5509132b9734b19d804aed55562f"
27
27
  }