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/vue.json b/configuration/vue.json new file mode 100755 index 0000000..589e96c --- /dev/null +++ b/configuration/vue.json @@ -0,0 +1,7 @@ +{ + "extends": "./basic.json", + "compilerOptions": { + "jsx": "preserve", + "jsxImportSource": "vue" + } +} diff --git a/package.json b/package.json index f388e4e..44c9b9b 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ }, "exports": { ".": "./configuration/basic.json", - "./basic": "./configuration/basic.json" + "./basic": "./configuration/basic.json", + "./vue": "./configuration/vue.json" }, "files": [ "./configuration/"