mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-09 06:33:52 -05:00
pdf added
This commit is contained in:
@@ -113,11 +113,19 @@ const copyImages = () => {
|
||||
);
|
||||
};
|
||||
|
||||
// Task to copy images
|
||||
const copyPDF = () => {
|
||||
return src(paths.src + 'pdf/**/*', { encoding: false }).pipe(
|
||||
dest(paths.dist + 'pdf/')
|
||||
);
|
||||
};
|
||||
|
||||
// Configure USWDS paths
|
||||
uswds.settings.version = 3;
|
||||
uswds.paths.dist.css = paths.dist + 'css';
|
||||
uswds.paths.dist.js = paths.dist + 'js';
|
||||
uswds.paths.dist.img = paths.dist + 'img';
|
||||
uswds.paths.dist.pdf = paths.dist + 'pdf';
|
||||
uswds.paths.dist.fonts = paths.dist + 'fonts';
|
||||
uswds.paths.dist.theme = paths.src + 'sass/uswds';
|
||||
|
||||
@@ -164,6 +172,7 @@ exports.default = series(
|
||||
copyGtmHead,
|
||||
copySetTimezone,
|
||||
copyImages,
|
||||
copyPDF,
|
||||
copyAssets
|
||||
);
|
||||
exports.backstopTest = backstopTest;
|
||||
|
||||
Reference in New Issue
Block a user