@massimo-cassandro/create-favicons 1.5.2 → 1.5.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massimo-cassandro/create-favicons",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Favicon files builder",
5
5
  "bin": {
6
6
  "create-favicons": "./index.mjs"
@@ -12,8 +12,9 @@ export async function createSnippet(params) {
12
12
  snippet_content = '<link rel="icon" href="<%= require(\'./favicon.ico\') %>" sizes="32x32"/>\n' +
13
13
  '<link rel="icon" href="<%= require(\'./favicon.svg\') %>" type="image/svg+xml"/>\n' +
14
14
  '<link rel="apple-touch-icon" href="<%= require(\'./apple-touch-icon.png\') %>"/>\n' +
15
- '<link rel="manifest" href="./manifest.webmanifest"/>\n' +
16
- '<!-- <link rel="manifest" href="<%= require(\'./manifest.webmanifest.ejs\')() %>"/> -->';
15
+ '<link rel="manifest" href="./manifest.webmanifest"/>';
16
+
17
+ //'\n<!-- <link rel="manifest" href="<%= require(\'./manifest.webmanifest.ejs\')() %>"/> -->';
17
18
 
18
19
  } else {
19
20
 
@@ -8,6 +8,7 @@ export function parseParams(config_params = null, work_dir = process.cwd()) {
8
8
 
9
9
  const params = {...default_params, ...(config_params??{})}
10
10
  params.work_dir = work_dir;
11
+ params.manifest_file_name = 'manifest.webmanifest';
11
12
 
12
13
  // ejs overrides
13
14
  if(params.snippet_language === 'ejs') {
@@ -17,8 +18,7 @@ export function parseParams(config_params = null, work_dir = process.cwd()) {
17
18
  params.snippet_name = 'favicons.incl.ejs';
18
19
  params.snippet_target_file = null;
19
20
  params.snippet_path = params.output_dir;
20
- params.add_cache_buster = false;
21
-
21
+ params.add_cache_buster = false
22
22
 
23
23
  }
24
24
  [