From 92099f7f8db14b75fa653f088872ec2e09d26469 Mon Sep 17 00:00:00 2001 From: Frani Date: Sat, 26 Sep 2020 13:30:03 -0300 Subject: [PATCH] Following Issue #243 As was reading and having same problem on issue #243 , then I read comment from [saborrie](https://github.com/transitive-bullshit/create-react-library/issues/243#issuecomment-653525598). Decided to add ``` --jsxFragment React.Fragment ``` to scripts --- template/default/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/default/package.json b/template/default/package.json index 955a46e..e77e0d8 100644 --- a/template/default/package.json +++ b/template/default/package.json @@ -12,8 +12,8 @@ "node": ">=10" }, "scripts": { - "build": "microbundle-crl --no-compress --format modern,cjs", - "start": "microbundle-crl watch --no-compress --format modern,cjs", + "build": "microbundle-crl --no-compress --format modern,cjs --jsxFragment React.Fragment", + "start": "microbundle-crl watch --no-compress --format modern,cjs --jsxFragment React.Fragment", "prepare": "run-s build", "test": "run-s test:unit test:lint test:build", "test:build": "run-s build",