From ee09f34bc2454b1ecf41e38f12561ef0792ea199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E4=B8=93?= Date: Thu, 18 Jul 2019 20:13:56 +0800 Subject: [PATCH] fix(build): fix typo (#3891) --- build/build-entry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build-entry.js b/build/build-entry.js index ba8f5a9bc..d5f623c7e 100644 --- a/build/build-entry.js +++ b/build/build-entry.js @@ -17,7 +17,7 @@ function buildEntry() { const importList = Components.map(name => `import ${uppercamelize(name)} from './${name}';`); const exportList = Components.map(name => `${uppercamelize(name)}`); - const intallList = exportList.filter(name => !~uninstallComponents.indexOf(uppercamelize(name))); + const installList = exportList.filter(name => !~uninstallComponents.indexOf(uppercamelize(name))); const content = `${tips} import { VueConstructor } from 'vue/types'; ${importList.join('\n')} @@ -30,7 +30,7 @@ declare global { const version = '${version}'; const components = [ - ${intallList.join(',\n ')} + ${installList.join(',\n ')} ]; const install = (Vue: VueConstructor) => {