const gulp = require("gulp");
const lkpm = require('lkpm');

var taskExporter = new lkpm.TaskExporter({
    moduleBase: __dirname
}, gulp);

taskExporter.exportTasks();
@@ -57,85 +57,601 @@
 ');%0A
-%0Avar taskExporter = new lkpm.TaskExporter(%7B%0A    moduleBase: __dirname%0A%7D, gulp
+const path = require(%22path%22);%0A%0Avar buildDir = path.join(__dirname, %22build%22);%0Avar compiledResourcesDir = path.join(buildDir, %22compiledResources%22);%0A%0Avar compileJSLibTask = %22javascript-libraries%22;%0Agulp.task(compileJSLibTask, function() %7B%0A    return gulp.src(path.join(%22resources%22, %22**%22, %22*%22))%0A        .pipe(gulp.dest(path.join(compiledResourcesDir)));%0A%7D);%0A%0Avar taskExporter = new lkpm.TaskExporter(%7B%0A    moduleBase: __dirname%0A%7D, gulp);%0A%0Avar stageTask = taskExporter.tasks%5Blkpm.TASK_NAMES.STAGE_STATIC%5D;%0AstageTask.dependencies.push(compileJSLibTask);%0AstageTask.setResourceRoot(compiledResourcesDir
 );%0A%0A

Add a precompile step for WebUtils.