mod-build 3.6.32-beta.3 → 3.6.32-beta.4
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.
|
@@ -28,7 +28,7 @@ function replaceFootAssetScripts(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
28
28
|
.pipe(replace(/"(?:(?!"|js")[\s\S])+(modutils|mod-utils.*?)js"/, resourcePath + '/mod-utils/' + fileNames.modUtilsFileName))
|
|
29
29
|
.pipe(replace(/"(?:(?!"|")[\s\S])+(footer\/footer-component.*?)js"/, resourcePath + '/footer/' + fileNames.footerComponentJsFileName))
|
|
30
30
|
.pipe(replace(/"(?:(?!"|")[\s\S])+(mod-form\/mod-form.*?)js"/, resourcePath + '/mod-form/' + fileNames.modFormFileName))
|
|
31
|
-
.pipe(replace(/"(?:(?!"|")[\s\S])+(mod-form\/form\/mod-form.*?)js"/, resourcePath + '/mod-form/form/' + fileNames.
|
|
31
|
+
.pipe(replace(/"(?:(?!"|")[\s\S])+(mod-form\/form\/mod-form.*?)js"/, resourcePath + '/mod-form/form/' + fileNames.modularModFormFileName))
|
|
32
32
|
.pipe(replace(/"(?:(?!"|")[\s\S])+(qs-form.*?)js"/, resourcePath + '/mod-form/' + fileNames.qsFormFileName))
|
|
33
33
|
.pipe(gulp.dest(siteSettings.srcFolder + '/shared-components/foot-assets'));
|
|
34
34
|
}
|
|
@@ -186,11 +186,11 @@ const TASKS = {
|
|
|
186
186
|
srcReplaceFn: null,
|
|
187
187
|
additionalSrcReplaceFns: []
|
|
188
188
|
},
|
|
189
|
-
|
|
190
|
-
url: `mod-form/form/mod-form
|
|
191
|
-
mapUrl: `mod-form/form/mod-form
|
|
189
|
+
copyModularModForm: {
|
|
190
|
+
url: `mod-form/form/mod-form.min.js`,
|
|
191
|
+
mapUrl: `mod-form/form/mod-form.min.js.map`,
|
|
192
192
|
config: {
|
|
193
|
-
fileName: '
|
|
193
|
+
fileName: 'modularModFormFileName',
|
|
194
194
|
dest: 'scripts/mod-form/form'
|
|
195
195
|
},
|
|
196
196
|
srcReplaceFn: null,
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mod-build",
|
|
3
|
-
"version": "3.6.32-beta.
|
|
3
|
+
"version": "3.6.32-beta.4",
|
|
4
4
|
"description": "Share components for S3 sites.",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
7
|
+
"serve": "node --max-old-space-size=4096 gulp my-task"
|
|
7
8
|
},
|
|
8
9
|
"author": "",
|
|
9
10
|
"license": "ISC",
|