workflow: rename umd build to global

This commit is contained in:
Evan You
2018-09-19 12:46:55 -04:00
parent d1bc6ee8d6
commit 73106b8553
5 changed files with 28 additions and 28 deletions

View File

@@ -1,3 +1,3 @@
# @vue/observer
> This package is inlined into UMD & Browser ESM builds of user-facing renderers (e.g. `@vue/renderer-dom`), but also published as a package that can be used standalone. The standalone build should not be used alongside a pre-bundled build of a user-facing renderer, as they will have different internal storage for reactivity connections. A user-facing renderer should re-export all APIs from this package.
> This package is inlined into Global & Browser ESM builds of user-facing renderers (e.g. `@vue/renderer-dom`), but also published as a package that can be used standalone. The standalone build should not be used alongside a pre-bundled build of a user-facing renderer, as they will have different internal storage for reactivity connections. A user-facing renderer should re-export all APIs from this package.

View File

@@ -5,14 +5,14 @@
"main": "index.js",
"module": "dist/observer.esm.js",
"typings": "dist/index.d.ts",
"unpkg": "dist/observer.umd.js",
"unpkg": "dist/observer.global.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue.git"
},
"buildOptions": {
"name": "VueObserver",
"formats": ["esm", "cjs", "umd", "esm-browser"]
"formats": ["esm", "cjs", "global", "esm-browser"]
},
"keywords": [
"vue"

View File

@@ -5,10 +5,10 @@
"main": "index.js",
"module": "dist/renderer-dom.esm.js",
"typings": "dist/index.d.ts",
"unpkg": "dist/renderer-dom.umd.js",
"unpkg": "dist/renderer-dom.global.js",
"buildOptions": {
"name": "Vue",
"formats": ["esm", "cjs", "umd", "esm-browser"]
"name": "VueDOMRenderer",
"formats": ["esm", "cjs", "global", "esm-browser"]
},
"repository": {
"type": "git",