Skip to content
Permalink
Browse files
fix(types): add types field for sub package exports
Add types field for vue/server-renderer and vue/compiler-sfc deep imports
which are necessary when using "moduleResolution": "nodenext"
  • Loading branch information
yyx990803 committed Aug 16, 2022
1 parent 78c199d commit c1ee6caa82da89b3a9c33e2253c07a681ebb2628
Showing 1 changed file with 4 additions and 2 deletions.
@@ -28,11 +28,13 @@
},
"./server-renderer": {
"import": "./server-renderer/index.mjs",
"require": "./server-renderer/index.js"
"require": "./server-renderer/index.js",
"types": "./server-renderer/index.d.ts"
},
"./compiler-sfc": {
"import": "./compiler-sfc/index.mjs",
"require": "./compiler-sfc/index.js"
"require": "./compiler-sfc/index.js",
"types": "./compiler-sfc/index.d.ts"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json",

0 comments on commit c1ee6ca

Please sign in to comment.