mod-build 3.6.16 → 3.6.17

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,8 @@ 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
+ const data = siteData.siteData ? siteData.siteData : siteData;
136
+ isQuotePageOrUseRelativePath = data && data.isQuotePage === true || data.useRelativePathForResources === true;
137
137
  resourceURL = `https://${siteSettings.nodeEnv}/quote/resources`;
138
138
 
139
139
  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",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"