Closed mcaskill closed 1 year ago
Moved exports to end of file to improve readability.
Separated generic helpers from build helpers:
build/utils/*.js
build/helpers/*.js
build/helpers/config.js
merge
isObjectLike
build/utils/index.js
build/helpers/template.js
flatten
escapeRegExp
build/tasks/styles.js
createPostCSSProcessor
build/helpers/postcss.js
createProcessor
Object.assign
includes
concats.js
scripts.js
svgs.js
supportsGlob
tiny-glob
globby
glob
fast-glob
fileOnly
supportsPostCSS
349d110
View logs
Utilities
Moved exports to end of file to improve readability.
Separated generic helpers from build helpers:
build/utils/*.js
tobuild/helpers/*.js
.build/helpers/config.js
:merge
andisObjectLike
tobuild/utils/index.js
.build/helpers/template.js
:flatten
andescapeRegExp
tobuild/utils/index.js
.build/tasks/styles.js
:createPostCSSProcessor
tobuild/helpers/postcss.js
ascreateProcessor
.Object.assign
withmerge
for task options parsing in all tasks.Tasks
includes
to accept a string that will be cast to an array; inconcats.js
,scripts.js
, andsvgs.js
.Glob
supportsGlob
to provide a boolean to check if a glob function is available.tiny-glob
,globby
, andglob
, to matchfast-glob
.fileOnly
preset options fortiny-glob
.PostCSS
supportsPostCSS
to provide a boolean to check if PostCSS is available.General