diff --git a/gruntfile.js b/gruntfile.js index c74864326..c8495d266 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -453,7 +453,7 @@ module.exports = function(grunt) { // 'flag:undefined' will set flags without options. "module": 'commonjs', "target": 'es5', - "out": localCfg.outApiRefDir, + "out": '<%= grunt.option("out") || localCfg.outApiRefDir %>', "theme": '<%= grunt.option("theme") || "default" %>', //"json": './dist/doc.json', "name": 'NativeScript',