mod-build 3.6.17-beta.1 → 3.6.18

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