mod-build 3.6.29-beta.1 → 3.6.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/gulp-tasks/build.js +3 -3
- package/gulp-tasks/copy-videos.js +6 -0
- package/gulp-tasks/tasks.js +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.6.30
|
|
4
|
+
|
|
5
|
+
- Adding in the `copy-videos` gulp task needed for native landing pages.
|
|
6
|
+
|
|
7
|
+
## 3.6.29
|
|
8
|
+
|
|
9
|
+
- added enhancements to abandonment path replace function in grab-shared-scripts task
|
|
10
|
+
|
|
3
11
|
## 3.6.28
|
|
4
12
|
|
|
5
13
|
- Changing warm seasonal change date to be April 14th, part of reverting changes once more to rule out variants to potential cause of low CVR performance in HVAC sites.
|
package/gulp-tasks/build.js
CHANGED
|
@@ -8,12 +8,12 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
8
8
|
sequenceOpts = ['clean', 'grab-cdn', 'grab-shared-components', 'grab-shared-scripts', 'templates', 'styles', 'compile-prod', 'js-lint', 'html-min', 'css-min', 'js-min', 'img-min', 'extras', 'brand', 'cache-bust', 'build-stat'];
|
|
9
9
|
} else if (siteData.isWhiteLabel) {
|
|
10
10
|
if (siteData.isQSPage) {
|
|
11
|
-
sequenceOpts = ['clean', 'grab-cdn', 'grab-shared-components', 'grab-shared-scripts', 'templates', 'styles', 'grab-theme-json', 'combine-files', 'grab-images', 'copy-json', 'js-lint', 'html-min', 'css-min', 'js-min', 'img-min', 'extras', 'brand', 'copy-files-to-build-path', 'cache-bust', 'grab-tooltips-json', 'build-stat'];
|
|
11
|
+
sequenceOpts = ['clean', 'grab-cdn', 'grab-shared-components', 'grab-shared-scripts', 'templates', 'styles', 'copy-videos', 'grab-theme-json', 'combine-files', 'grab-images', 'copy-json', 'js-lint', 'html-min', 'css-min', 'js-min', 'img-min', 'extras', 'brand', 'copy-files-to-build-path', 'cache-bust', 'grab-tooltips-json', 'build-stat'];
|
|
12
12
|
} else {
|
|
13
|
-
sequenceOpts = ['clean', 'grab-cdn', 'grab-shared-components', 'grab-shared-scripts', 'templates', 'styles', 'combine-files', 'grab-images', 'js-lint', 'html-min','grab-global-images', 'css-min', 'js-min', 'img-min', 'extras', 'brand', 'cache-bust', 'grab-tooltips-json', 'build-stat'];
|
|
13
|
+
sequenceOpts = ['clean', 'grab-cdn', 'grab-shared-components', 'grab-shared-scripts', 'templates', 'styles', 'copy-videos', 'combine-files', 'grab-images', 'js-lint', 'html-min','grab-global-images', 'css-min', 'js-min', 'img-min', 'extras', 'brand', 'cache-bust', 'grab-tooltips-json', 'build-stat'];
|
|
14
14
|
}
|
|
15
15
|
} else {
|
|
16
|
-
sequenceOpts = ['clean', 'grab-cdn', 'grab-shared-components', 'grab-shared-scripts', 'templates', 'styles', 'js-lint', 'html-min', 'css-min', 'js-min', 'img-min', 'extras', 'brand', 'cache-bust', 'build-stat'];
|
|
16
|
+
sequenceOpts = ['clean', 'grab-cdn', 'grab-shared-components', 'grab-shared-scripts', 'templates', 'styles', 'copy-videos', 'js-lint', 'html-min', 'css-min', 'js-min', 'img-min', 'extras', 'brand', 'cache-bust', 'build-stat'];
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
runSequence(...sequenceOpts, function() {
|
package/gulp-tasks/tasks.js
CHANGED
|
@@ -384,6 +384,18 @@ module.exports = function() {
|
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
386
|
|
|
387
|
+
// Copy videos
|
|
388
|
+
'copy-videos': {
|
|
389
|
+
subtasks: [],
|
|
390
|
+
func: function(opts) {
|
|
391
|
+
if ('undefined' === typeof opts.gulpTasksFolderPath) {
|
|
392
|
+
opts.gulpTasksFolderPath = '.';
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
return require(opts.gulpTasksFolderPath + '/copy-videos')(opts.gulp, opts.gulpSettings);
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
|
|
387
399
|
// Grab theme json file from shared resources
|
|
388
400
|
'grab-theme-json': {
|
|
389
401
|
subtasks: [],
|