ant-app-builder
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -25,3 +25,6 @@ | ||
if (buildTasks.constructor !== Array) buildTasks = [buildTasks] | ||
// check if task is to be skipped | ||
buildTasks = buildTasks.filter(task => task._attributes.action !== "skip") | ||
return Promise.all(buildTasks.map(async task => { | ||
@@ -31,3 +34,4 @@ let input = FS.path.join(appPath, task._attributes.source) | ||
let destDir = FS.path.dirname(dest) | ||
let _uglify = task._attributes.action === "uglify" || uglify | ||
let ant_require = async function(baseDir, reqStr, exclude) { | ||
@@ -74,3 +78,3 @@ let reqPath = FS.path.join(baseDir, reqStr.slice(13,-2)) | ||
await FS.writeFile(dest, uglify ? parsed.code : code) | ||
await FS.writeFile(dest, _uglify ? parsed.code : code) | ||
})) | ||
@@ -77,0 +81,0 @@ } |
{ | ||
"name": "ant-app-builder", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
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
50105
379