You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New: Support content-only builds via outputDir option
When outputDir is passed and the directory already exists, the build
skips framework source copy and CLI compilation, writing only course
content JSON and assets. This enables multilang to run a single full
build for the default language and content-only builds for the rest.
Copy file name to clipboardExpand all lines: lib/AdaptFrameworkBuild.js
+28-11Lines changed: 28 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -40,11 +40,12 @@ class AdaptFrameworkBuild {
40
40
* @property {String} userId The user executing the build
41
41
* @property {String} expiresAt When the build expires
42
42
* @property {Boolean} compress Whether output files should be compressed into an archive file
43
+
* @property {String} outputDir If set, uses this as the build root. If the directory already exists, only content data and assets are written (framework copy and compilation are skipped)
0 commit comments