const bundleBuildTask = task({
name: 'bundle:build',
- desc: 'Lint the source files and build and stage the UI assets for bundling',
exec: series(cleanTask, lintTask, buildTask),
})
const previewPagesTask = task({
name: 'preview:pages',
- desc: 'Generate pages for the preview by applying the specified layout template',
exec: previewPages(srcDir, destDir, previewSiteSrcDir, previewSiteDestDir, livereload),
})
const previewServeTask = task({
name: 'preview:serve',
- desc: 'Launch server to preview UI',
exec: previewServe(previewSiteDestDir, {
port: 5252,
livereload,
formatTask,
buildTask,
bundleTask,
+ bundlePackTask,
previewTask,
previewBuildTask
)