mod-build 3.6.65 → 3.6.66-beta.1

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.6.66
4
+
5
+ - Updating our `grab-cdn` task to pull down `quote-jornaya.html` for modernize pages (as we will be loading these all locally now as well).
6
+
3
7
  ## 3.6.65
4
8
 
5
9
  - Removing the `'brand'` task (was working off `mod-site` dependencies which we are no longer using). Also removed the `useCDN` conditional for a few tasks (that I believe was added due to just copying/pasting).
@@ -42,12 +42,16 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
42
42
  '/quote/resources/shared-resources/templates/modals/faq/': ['/resources/templates/modals/faq/', 'index.html']
43
43
  })
44
44
 
45
- Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/jornaya.html': ['/templates/scripts/', 'jornaya.html']});
46
-
47
45
  if (isModWhiteLabel || domainHasModernize) {
48
46
  Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/recaptcha.html': ['/templates/scripts/', 'recaptcha.html']});
49
47
  }
50
48
 
49
+ if (domainHasModernize) {
50
+ Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/quote-jornaya.html': ['/templates/scripts/', 'quote-jornaya.html']});
51
+ } else {
52
+ Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/jornaya.html': ['/templates/scripts/', 'jornaya.html']});
53
+ }
54
+
51
55
  // local dev files
52
56
  const remoteFilesForLocalDev = {
53
57
  '/quote/resources/mod-site/scripts/vendor/maxmind-geoip2.js': ['/temp/scripts/', 'maxmind-geoip2.js']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.6.65",
3
+ "version": "3.6.66-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",