mirror of https://github.com/vuejs/core.git
chore: remove no longer needed vue-vapor references
This commit is contained in:
parent
3d98183e1c
commit
02d30beb97
|
@ -143,9 +143,7 @@ function createConfig(format, output, plugins = []) {
|
|||
const isCJSBuild = format === 'cjs'
|
||||
const isGlobalBuild = /global/.test(format)
|
||||
const isCompatPackage =
|
||||
pkg.name === '@vue/compat' ||
|
||||
pkg.name === '@vue/compat-canary' ||
|
||||
pkg.name === '@vue-vapor/compat'
|
||||
pkg.name === '@vue/compat' || pkg.name === '@vue/compat-canary'
|
||||
const isCompatBuild = !!packageOptions.compat
|
||||
const isBrowserBuild =
|
||||
(isGlobalBuild || isBrowserESMBuild || isBundlerESMBuild) &&
|
||||
|
@ -341,8 +339,7 @@ function createConfig(format, output, plugins = []) {
|
|||
let cjsIgnores = []
|
||||
if (
|
||||
pkg.name === '@vue/compiler-sfc' ||
|
||||
pkg.name === '@vue/compiler-sfc-canary' ||
|
||||
pkg.name === '@vue-vapor/compiler-sfc'
|
||||
pkg.name === '@vue/compiler-sfc-canary'
|
||||
) {
|
||||
cjsIgnores = [
|
||||
...Object.keys(consolidatePkg.devDependencies),
|
||||
|
|
|
@ -23,7 +23,9 @@ const {
|
|||
|
||||
const sizeDir = path.resolve('temp/size')
|
||||
const vue = path.resolve('./packages/vue/dist/vue.runtime.esm-bundler.js')
|
||||
const vapor = path.resolve('./packages/vue-vapor/dist/vue-vapor.esm-bundler.js')
|
||||
const vapor = path.resolve(
|
||||
'./packages/runtime-vapor/dist/runtime-vapor.esm-bundler.js',
|
||||
)
|
||||
|
||||
/**
|
||||
* @typedef {Object} Preset
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"packages/global.d.ts",
|
||||
"packages/vue/src",
|
||||
"packages/vue-compat/src",
|
||||
"packages/vue-vapor/src",
|
||||
"packages/compiler-core/src",
|
||||
"packages/compiler-dom/src",
|
||||
"packages/runtime-core/src",
|
||||
|
|
|
@ -9,9 +9,6 @@ export default mergeConfig(config, {
|
|||
singleThread: !!process.env.CI,
|
||||
},
|
||||
},
|
||||
include: [
|
||||
'packages/vue/__tests__/e2e/*.spec.ts',
|
||||
'packages/vue-vapor/__tests__/e2e/*.spec.ts',
|
||||
],
|
||||
include: ['packages/vue/__tests__/e2e/*.spec.ts'],
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue