From 7ad36a76f6669307dd26f7ab7e8697a84d480fff Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 29 Nov 2021 18:28:44 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E6=B7=98=E5=AE=9D?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/src/modules/plugin/node/config.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/core/src/modules/plugin/node/config.js b/packages/core/src/modules/plugin/node/config.js index 1bb175e..13c182f 100644 --- a/packages/core/src/modules/plugin/node/config.js +++ b/packages/core/src/modules/plugin/node/config.js @@ -14,18 +14,18 @@ module.exports = { registry: 'https://registry.npmjs.org'// 可以选择切换官方或者淘宝镜像 }, // intercepts: { - // 'cdn.cypress.io': [{ regexp: '/desktop/.*', proxy: 'http://npm.taobao.org/mirrors/cypress/' }] + // 'cdn.cypress.io': [{ regexp: '/desktop/.*', proxy: 'http://npmmirror.com/mirrors/cypress/' }] // }, variables: { - phantomjs_cdnurl: 'https://npm.taobao.org/dist/phantomjs', - chromedriver_cdnurl: 'https://npm.taobao.org/mirrors/chromedriver', - sass_binary_site: 'https://npm.taobao.org/mirrors/node-sass', - ELECTRON_MIRROR: 'https://npm.taobao.org/mirrors/electron/', + phantomjs_cdnurl: 'https://npmmirror.com/dist/phantomjs', + chromedriver_cdnurl: 'https://npmmirror.com/mirrors/chromedriver', + sass_binary_site: 'https://npmmirror.com/mirrors/node-sass', + ELECTRON_MIRROR: 'https://npmmirror.com/mirrors/electron/', // CYPRESS_DOWNLOAD_MIRROR: 'https://cdn.cypress.io', - NVM_NODEJS_ORG_MIRROR: 'https://npm.taobao.org/mirrors/node', - CHROMEDRIVER_CDNURL: 'https://npm.taobao.org/mirrors/chromedriver', - OPERADRIVER: 'https://npm.taobao.org/mirrors/operadriver', - ELECTRON_BUILDER_BINARIES_MIRROR: 'https://npm.taobao.org/mirrors/electron-builder-binaries/', - PYTHON_MIRROR: 'https://npm.taobao.org/mirrors/python' + NVM_NODEJS_ORG_MIRROR: 'https://npmmirror.com/mirrors/node', + CHROMEDRIVER_CDNURL: 'https://npmmirror.com/mirrors/chromedriver', + OPERADRIVER: 'https://npmmirror.com/mirrors/operadriver', + ELECTRON_BUILDER_BINARIES_MIRROR: 'https://npmmirror.com/mirrors/electron-builder-binaries/', + PYTHON_MIRROR: 'https://npmmirror.com/mirrors/python' } }