build: adjust global names + allow inline overrides of build flags

This commit is contained in:
Evan You
2019-12-15 15:37:43 -05:00
parent 75113c8d3e
commit 35858cec8c
7 changed files with 15 additions and 5 deletions

View File

@@ -10,6 +10,7 @@
],
"types": "dist/compiler-core.d.ts",
"buildOptions": {
"name": "VueCompilerCore",
"formats": [
"esm-bundler",
"cjs"

View File

@@ -12,7 +12,7 @@
"unpkg": "dist/compiler-dom/global.js",
"sideEffects": false,
"buildOptions": {
"name": "VueDOMCompiler",
"name": "VueCompilerDOM",
"formats": [
"esm-bundler",
"cjs",

View File

@@ -16,7 +16,7 @@
"url": "git+https://github.com/vuejs/vue.git"
},
"buildOptions": {
"name": "VueObserver",
"name": "VueReactivity",
"formats": [
"esm-bundler",
"cjs",

View File

@@ -10,6 +10,7 @@
],
"types": "dist/runtime-core.d.ts",
"buildOptions": {
"name": "VueRuntimeCore",
"formats": [
"esm-bundler",
"cjs"

View File

@@ -12,7 +12,7 @@
"unpkg": "dist/runtime-dom.global.js",
"sideEffects": false,
"buildOptions": {
"name": "VueDOMRuntime",
"name": "VueRuntimeDOM",
"formats": [
"esm-bundler",
"cjs",

View File

@@ -15,7 +15,7 @@
"url": "git+https://github.com/vuejs/vue.git"
},
"buildOptions": {
"name": "VueTestRuntime",
"name": "VueRuntimeTest",
"formats": [
"global"
]