build: expose compiler-sfc and server-renderer under main vue package + optimize package size

This commit is contained in:
Evan You
2021-09-21 10:26:08 -04:00
parent a42a14d3bc
commit 471f66a1f6
18 changed files with 76 additions and 60 deletions

1
packages/vue/compiler-sfc/index.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
export * from '@vue/compiler-sfc'

View File

@@ -0,0 +1 @@
module.exports = require('@vue/compiler-sfc')

View File

@@ -0,0 +1 @@
export * from '@vue/compiler-sfc'

View File

@@ -0,0 +1,5 @@
{
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts"
}