diff --git a/configuration/basic.json b/configuration/basic.json index 3d90e79..8a561d9 100755 --- a/configuration/basic.json +++ b/configuration/basic.json @@ -2,7 +2,6 @@ "compilerOptions": { "target": "esnext", "lib": ["dom", "dom.iterable", "esnext", "webworker"], - "jsx": "react-jsx", "allowJs": true, "skipLibCheck": true, diff --git a/configuration/react.json b/configuration/react.json new file mode 100644 index 0000000..902ac60 --- /dev/null +++ b/configuration/react.json @@ -0,0 +1,6 @@ +{ + "extends": "./basic.json", + "compilerOptions": { + "jsx": "react-jsx" + } +} diff --git a/package.json b/package.json index f388e4e..a623860 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ }, "exports": { ".": "./configuration/basic.json", - "./basic": "./configuration/basic.json" + "./basic": "./configuration/basic.json", + "./react": "./configuration/react.json" }, "files": [ "./configuration/"