chore: scaffold ssr compiler
This commit is contained in:
parent
70e730fd19
commit
eacd390992
1
packages/compiler-ssr/README.md
Normal file
1
packages/compiler-ssr/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# @vue/compiler-ssr
|
7
packages/compiler-ssr/api-extractor.json
Normal file
7
packages/compiler-ssr/api-extractor.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../api-extractor.json",
|
||||||
|
"mainEntryPointFilePath": "./dist/packages/<unscopedPackageName>/src/index.d.ts",
|
||||||
|
"dtsRollup": {
|
||||||
|
"untrimmedFilePath": "./dist/<unscopedPackageName>.d.ts"
|
||||||
|
}
|
||||||
|
}
|
32
packages/compiler-ssr/package.json
Normal file
32
packages/compiler-ssr/package.json
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"name": "@vue/compiler-ssr",
|
||||||
|
"version": "3.0.0-alpha.2",
|
||||||
|
"description": "@vue/compiler-ssr",
|
||||||
|
"main": "dist/compiler-ssr.cjs.js",
|
||||||
|
"types": "dist/compiler-ssr.d.ts",
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"buildOptions": {
|
||||||
|
"prod": false,
|
||||||
|
"formats": [
|
||||||
|
"cjs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/vuejs/vue.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"vue"
|
||||||
|
],
|
||||||
|
"author": "Evan You",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/vuejs/vue/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-ssr#readme",
|
||||||
|
"dependencies": {
|
||||||
|
"@vue/compiler-core": "3.0.0-alpha.2"
|
||||||
|
}
|
||||||
|
}
|
3
packages/compiler-ssr/src/index.ts
Normal file
3
packages/compiler-ssr/src/index.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export function hello(): string {
|
||||||
|
return 'TODO'
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user