Skip to content

Commit

Permalink
chore: scaffold ssr compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 27, 2020
1 parent 70e730f commit eacd390
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/compiler-ssr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# @vue/compiler-ssr
7 changes: 7 additions & 0 deletions packages/compiler-ssr/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "../../api-extractor.json",
"mainEntryPointFilePath": "./dist/packages/<unscopedPackageName>/src/index.d.ts",
"dtsRollup": {
"untrimmedFilePath": "./dist/<unscopedPackageName>.d.ts"
}
}
32 changes: 32 additions & 0 deletions packages/compiler-ssr/package.json
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions packages/compiler-ssr/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function hello(): string {
return 'TODO'
}

0 comments on commit eacd390

Please sign in to comment.