Skip to content

Commit

Permalink
Add vue configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
thasmo committed Dec 1, 2024
1 parent 6159508 commit 19c1a9c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion configuration/basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
"jsx": "react-jsx",
"allowJs": true,
"skipLibCheck": true,

Expand Down
7 changes: 7 additions & 0 deletions configuration/vue.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./basic.json",
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "vue"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
},
"exports": {
".": "./configuration/basic.json",
"./basic": "./configuration/basic.json"
"./basic": "./configuration/basic.json",
"./vue": "./configuration/vue.json"
},
"files": [
"./configuration/"
Expand Down

0 comments on commit 19c1a9c

Please sign in to comment.