Skip to content

Commit

Permalink
fix: resolve dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Sep 25, 2023
1 parent 37f5e3f commit 1a0deb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/babel-plugin-resolve-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"dev": "./src/index.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "ESNext",
"module": "ESNext",
"lib": ["ES2015", "DOM", "DOM.Iterable"],
"moduleResolution": "node",
"moduleResolution": "bundler",
"allowJs": true,
"strict": true,
"noUnusedLocals": true,
Expand All @@ -15,7 +15,8 @@
"paths": {
"@vue/babel-plugin-jsx": ["./packages/babel-plugin-jsx/src"]
},
"noEmit": true
"noEmit": true,
"customConditions": ["dev"]
},
"include": ["packages/*/src", "packages/*/test"]
}

0 comments on commit 1a0deb4

Please sign in to comment.