mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2026-04-22 00:00:04 +08:00
add node_modules
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
const npmConf = require('npm-conf')();
|
||||
|
||||
module.exports = () => {
|
||||
return process.env.HTTPS_PROXY ||
|
||||
process.env.https_proxy ||
|
||||
process.env.HTTP_PROXY ||
|
||||
process.env.http_proxy ||
|
||||
npmConf.get('https-proxy') ||
|
||||
npmConf.get('http-proxy') ||
|
||||
npmConf.get('proxy') ||
|
||||
null;
|
||||
};
|
||||
Reference in New Issue
Block a user