move file around

This commit is contained in:
Kenneth Kehl
2024-08-23 14:01:51 -07:00
parent 8e3cd6324f
commit 3456bb47a1
4 changed files with 17 additions and 4 deletions

View File

@@ -61,7 +61,6 @@ const javascripts = () => {
paths.src + 'javascripts/fileUpload.js',
paths.src + 'javascripts/radioSelect.js',
paths.src + 'javascripts/updateContent.js',
paths.src + 'javascripts/setTimezone.js',
paths.src + 'javascripts/listEntry.js',
paths.src + 'javascripts/liveSearch.js',
paths.src + 'javascripts/errorTracking.js',
@@ -98,6 +97,13 @@ const copyGtmHead = () => {
.pipe(dest(paths.dist + 'js/'));
};
// Task to copy `setTimezone.js`
const copySetTimezone = () => {
return src(paths.src + 'js/setTimezone.js')
.pipe(dest(paths.dist + 'js/'));
};
// Task to copy images
const copyImages = () => {
return src(paths.src + 'images/**/*', { encoding: false })
@@ -123,4 +129,4 @@ const copyAssets = async () => {
await uswds.copyAssets();
};
exports.default = series(styles, javascripts, copyGtmHead, copyImages, copyAssets);
exports.default = series(styles, javascripts, copyGtmHead, copySetTimezone, copyImages, copyAssets);