diff --git a/lib/AdaptFrameworkBuild.js b/lib/AdaptFrameworkBuild.js index 2918608..1daf557 100644 --- a/lib/AdaptFrameworkBuild.js +++ b/lib/AdaptFrameworkBuild.js @@ -196,7 +196,8 @@ class AdaptFrameworkBuild { cwd: this.dir, sourceMaps: !this.isPublish, outputDir: this.buildDir, - cachePath: path.resolve(cacheDir, this.courseId) + cachePath: path.resolve(cacheDir, this.courseId), + logger: { log: (...args) => framework.log('debug', ...args) } }) } catch (e) { throw App.instance.errors.FW_CLI_BUILD_FAILED