build: adjust build formats

- Rename `esm` to `esm-browser`
- Add runtime-only build for `esm-browser`
- Add default CDN alias for jsdelivr
This commit is contained in:
Evan You
2020-04-19 18:42:07 -04:00
parent a51b052672
commit 218e6e1667
8 changed files with 47 additions and 37 deletions

View File

@@ -1,5 +1,9 @@
# @vue/runtime-test
This is for Vue's own internal tests only - it ensures logic tested using this package is DOM-agnostic, and it runs faster than JSDOM.
It can also be used as a reference for implementing a custom renderer.
``` js
import { h, render, nodeOps, dumpOps } from '@vue/runtime-test'

View File

@@ -14,12 +14,6 @@
"type": "git",
"url": "git+https://github.com/vuejs/vue-next.git"
},
"buildOptions": {
"name": "VueRuntimeTest",
"formats": [
"global"
]
},
"keywords": [
"vue"
],