mod-build 3.6.74 → 3.6.75-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.
@@ -21,7 +21,7 @@ function streamToDestination(gulp, siteSettings, inputPath, destPath, fileName)
21
21
  module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
22
22
  return function() {
23
23
  const { nodeEnv, isLocal } = siteSettings;
24
- const { isQSPage, isWhiteLabel, domain } = siteData;
24
+ const { isQSPage, isWhiteLabel, domain, installThemes } = siteData;
25
25
  const isModWhiteLabel = isWhiteLabel && !isQSPage
26
26
  const domainHasModernize = domain.indexOf('modernize') > -1;
27
27
 
@@ -48,6 +48,10 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
48
48
  Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/recaptcha.html': ['/templates/scripts/', 'recaptcha.html']});
49
49
  }
50
50
 
51
+ if (installThemes) {
52
+ Object.assign(externalResources, {'/quote/resources/shared-resources/styles/themes/': ['/resources/styles/themes/', '*']});
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.74",
3
+ "version": "3.6.75-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",