@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -33,2 +33,3 @@ const tags = require('./tags') | ||
const { | ||
isInHBuilderX, | ||
getPlatformExts, | ||
@@ -57,2 +58,3 @@ getPlatformTarget, | ||
getNetworkTimeout, | ||
isInHBuilderX, | ||
getPlatformExts, | ||
@@ -59,0 +61,0 @@ getPlatformTarget, |
@@ -0,1 +1,4 @@ | ||
const fs = require('fs') | ||
const path = require('path') | ||
const EXTS = { | ||
@@ -63,3 +66,5 @@ 'app-plus': { | ||
const isInHBuilderX = fs.existsSync(path.resolve(__dirname, '../../vue-cli-plugin-hbuilderx')) | ||
module.exports = { | ||
isInHBuilderX, | ||
getPlatformExts () { | ||
@@ -66,0 +71,0 @@ return EXTS[process.env.UNI_PLATFORM] |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "uni-cli-shared", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25472
488
20