diff --git a/packages/compiler-ssr/README.md b/packages/compiler-ssr/README.md new file mode 100644 index 00000000000..5beb121e1f5 --- /dev/null +++ b/packages/compiler-ssr/README.md @@ -0,0 +1 @@ +# @vue/compiler-ssr \ No newline at end of file diff --git a/packages/compiler-ssr/api-extractor.json b/packages/compiler-ssr/api-extractor.json new file mode 100644 index 00000000000..305e85ffe67 --- /dev/null +++ b/packages/compiler-ssr/api-extractor.json @@ -0,0 +1,7 @@ +{ + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "./dist/packages//src/index.d.ts", + "dtsRollup": { + "untrimmedFilePath": "./dist/.d.ts" + } +} \ No newline at end of file diff --git a/packages/compiler-ssr/package.json b/packages/compiler-ssr/package.json new file mode 100644 index 00000000000..a368e6f8511 --- /dev/null +++ b/packages/compiler-ssr/package.json @@ -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" + } +} diff --git a/packages/compiler-ssr/src/index.ts b/packages/compiler-ssr/src/index.ts new file mode 100644 index 00000000000..d8c2d5fd142 --- /dev/null +++ b/packages/compiler-ssr/src/index.ts @@ -0,0 +1,3 @@ +export function hello(): string { + return 'TODO' +}