mod-build 3.6.97-beta.1 → 3.6.98
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,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.6.98
|
|
4
|
+
|
|
5
|
+
- Add howDidYouHearAboutUs value to Contractor Form
|
|
6
|
+
|
|
7
|
+
## 3.6.97
|
|
8
|
+
|
|
9
|
+
- Update regex for homeowner form to accomodate if contractor form is present
|
|
10
|
+
|
|
3
11
|
## 3.6.96
|
|
4
12
|
|
|
5
13
|
- Updating VWO cookies' expiration date to be only 1 day
|
|
@@ -32,8 +32,8 @@ function replaceModalyticsSrc(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
32
32
|
function replaceFootAssetScripts(gulp, gulpPlugins, siteSettings, siteData) {
|
|
33
33
|
const resourcePath = isQuotePageOrUseRelativePath ? '{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{/if}}resources/scripts' : '/resources/scripts';
|
|
34
34
|
return gulp.src(`${siteSettings.srcFolder}/${componentFolderPath}/foot-assets/foot-assets.html`)
|
|
35
|
-
.pipe(replace(/"(?:(?!"|js")[\s\S])+(modutils|mod-utils.*?)js"|"(?:(?!"|")[\s\S])+(callrail.*?)js"|"(?:(?!"|")[\s\S])+(footer\/footer-component.*?)js"|"(?:(?!"|")[\s\S])+(mod-form\/form.*?)js"/g, function(match) {
|
|
36
|
-
if (match.includes('mod-form/form')) {
|
|
35
|
+
.pipe(replace(/"(?:(?!"|js")[\s\S])+(modutils|mod-utils.*?)js"|"(?:(?!"|")[\s\S])+(callrail.*?)js"|"(?:(?!"|")[\s\S])+(footer\/footer-component.*?)js"|"(?:(?!"|")[\s\S])+(mod-form\/form\/homeowner.*?)js"/g, function(match) {
|
|
36
|
+
if (match.includes('mod-form/form/homeowner')) {
|
|
37
37
|
return `"${resourcePath}/mod-form/form/${fileNames.homeownerFormFileName}"`;
|
|
38
38
|
} else if (match.includes('callrail')) {
|
|
39
39
|
return `"${resourcePath}/callrail/${fileNames.callrailFileName}"`;
|