babel-plugin-encours
Advanced tools
+1
-1
| { | ||
| "name": "babel-plugin-encours", | ||
| "version": "0.0.6", | ||
| "version": "0.0.7", | ||
| "description": "A small plugin to transpile jsx for the encours framework", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
+1
-0
@@ -54,2 +54,3 @@ module.exports = function (babel) { | ||
| if (child.type === "JSXText") { | ||
| child.value = child.value.replace("\n", "").trim(); | ||
| if (!child.value.includes("\n")) { | ||
@@ -56,0 +57,0 @@ childArray.push(child); |
4902
1.34%87
1.16%