@massimo-cassandro/create-favicons 1.3.5 → 1.3.7
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/index.mjs +1 -1
- package/package.json +1 -1
- package/readme.md +1 -0
- package/src/create-snippet.mjs +3 -3
- package/src/init.mjs +1 -0
package/index.mjs
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
package/src/create-snippet.mjs
CHANGED
|
@@ -11,9 +11,9 @@ export async function createSnippet(params) {
|
|
|
11
11
|
.replace('%_cache_buster_%', cache_buster);
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
let snippet_content = `<link rel="icon" href="${create_href('favicon.ico')}" sizes="32x32"
|
|
15
|
-
`<link rel="icon" href="${create_href('favicon.svg')}" type="image/svg+xml"
|
|
16
|
-
`<link rel="apple-touch-icon" href="${create_href('apple-touch-icon.png')}"
|
|
14
|
+
let snippet_content = `<link rel="icon" href="${create_href('favicon.ico')}" sizes="32x32"/>\n` +
|
|
15
|
+
`<link rel="icon" href="${create_href('favicon.svg')}" type="image/svg+xml"/>\n` +
|
|
16
|
+
`<link rel="apple-touch-icon" href="${create_href('apple-touch-icon.png')}"/>\n` +
|
|
17
17
|
`<link rel="manifest" href="${create_href('manifest.webmanifest')}"/>`;
|
|
18
18
|
|
|
19
19
|
if (params.snippet_language === 'pug') {
|
package/src/init.mjs
CHANGED
|
@@ -42,6 +42,7 @@ export function init() {
|
|
|
42
42
|
|
|
43
43
|
printFrame({
|
|
44
44
|
strings: [
|
|
45
|
+
{string: '** CREATE-FAVICONS **', color: 'yellow', bold: true,},
|
|
45
46
|
{string: 'File di configurazione di generato:', color: 'green'},
|
|
46
47
|
{string: remove_homedir_string(cfg_sample_file), color: 'bgGreen'},
|
|
47
48
|
],
|