mod-build 3.6.16 → 3.6.17-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.
@@ -132,8 +132,7 @@ function getResourceMap(url, config = {}, fn) {
132
132
  }
133
133
 
134
134
  module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
135
- const { siteData: data } = siteData || null;
136
- isQuotePageOrUseRelativePath = data && ('isQuotePage' in data && data.isQuotePage === true) || ('useRelativePathForResources' in data && data.useRelativePathForResources === true);
135
+ isQuotePageOrUseRelativePath = siteData.siteData && siteData.siteData.isQuotePage === true || siteData.siteData.useRelativePathForResources === true;
137
136
  resourceURL = `https://${siteSettings.nodeEnv}/quote/resources`;
138
137
 
139
138
  const TASKS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.6.16",
3
+ "version": "3.6.17-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"