mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Merge branch 'dillon/122-1688-po-automation-project' into vapor/development
This commit is contained in:
Vendored
+1
-7
@@ -96,12 +96,6 @@ gulp.task('sourceCss', gulp.series('sourceImages', () => {
|
||||
// .pipe(gulp.dest(pkg.paths.build.js));
|
||||
// });
|
||||
|
||||
const sourceJsKeepNames = [
|
||||
'pdf.js',
|
||||
'pdf-table-extractor.js',
|
||||
'pdf.worker.js',
|
||||
];
|
||||
|
||||
gulp.task('sourceJs', () => {
|
||||
fancyLog('Compiling source JS dependencies');
|
||||
|
||||
@@ -109,7 +103,7 @@ gulp.task('sourceJs', () => {
|
||||
.pipe(plugins.plumber({ errorHandler: onError }))
|
||||
.pipe(plugins.print())
|
||||
.pipe(gulpIf(
|
||||
file => !sourceJsKeepNames.includes(path.basename(file.path)),
|
||||
file => !pkg.globs.sourceJsKeepNames.includes(path.basename(file.path)),
|
||||
plugins.concat('site.js')
|
||||
))
|
||||
.pipe(plugins.uglifyEs())
|
||||
|
||||
@@ -125,6 +125,11 @@
|
||||
"./resources/assets/js/vanta.birds.min.js",
|
||||
"./resources/assets/js/scripts.js"
|
||||
],
|
||||
"sourceJsKeepNames": [
|
||||
"./resources/assets/js/pdf.js",
|
||||
"./resources/assets/js/pdf-table-extractor.js",
|
||||
"./resources/assets/js/pdf.worker.js"
|
||||
],
|
||||
"sourceFonts": [
|
||||
"./resources/assets/fonts/**/*"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user