@24i/smartapps-bigscreen-rnv-build-engine 0.12.1-alpha.1652 → 0.12.1-alpha.1662
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.
|
@@ -6,7 +6,7 @@ const DEFAULT_CONFIG = {
|
|
|
6
6
|
docType: '<!DOCTYPE html>',
|
|
7
7
|
htmlTag: '<html lang="en">',
|
|
8
8
|
contentType: '',
|
|
9
|
-
metaTags: '<meta name="viewport" content="width=1280"
|
|
9
|
+
metaTags: '<meta name="viewport" content="width=1280" />',
|
|
10
10
|
};
|
|
11
11
|
const removeBlankLines = (string) => string.replace(/^\s*\n/gm, '');
|
|
12
12
|
const constructCustomHtmlTemplate = (options) => {
|
|
@@ -14,7 +14,7 @@ const constructCustomHtmlTemplate = (options) => {
|
|
|
14
14
|
const { docType, htmlTag, metaTags, headPrepend, headAppend, bodyPrepend, bodyAppend, } = options;
|
|
15
15
|
options.docType = custom.docType || docType || '';
|
|
16
16
|
options.htmlTag = custom.htmlTag || htmlTag || '';
|
|
17
|
-
options.metaTags = (0, joinStrings_1.joinStrings)(metaTags, custom.metaTags);
|
|
17
|
+
options.metaTags = (0, joinStrings_1.joinStrings)(metaTags, custom.metaTags, '<meta charset="utf-8" />');
|
|
18
18
|
options.headPrepend = (0, joinStrings_1.joinStrings)(headPrepend, custom.headPrepend);
|
|
19
19
|
options.headAppend = (0, joinStrings_1.joinStrings)(headAppend, custom.headAppend);
|
|
20
20
|
options.bodyPrepend = (0, joinStrings_1.joinStrings)(bodyPrepend, custom.bodyPrepend);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@24i/smartapps-bigscreen-rnv-build-engine",
|
|
3
|
-
"version": "0.12.1-alpha.
|
|
4
|
-
"description": "Package with build engine for SmartApps BIGscreen projects...",
|
|
3
|
+
"version": "0.12.1-alpha.1662+334829b8",
|
|
4
|
+
"description": "Package with build engine for SmartApps BIGscreen projects... ",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build:clean": "rm -rf dist",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"keywords": [],
|
|
63
63
|
"author": "24i",
|
|
64
64
|
"license": "ISC",
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "334829b8de838ac02a9dbddc8d6c1095dea83638"
|
|
66
66
|
}
|