@itrocks/template 0.0.31 → 0.0.32

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/cjs/template.js CHANGED
@@ -170,9 +170,9 @@ class Template {
170
170
  : (this.filePath + node_path_1.sep + path));
171
171
  if (!this.doHeadLinks) {
172
172
  this.addLinks.push(...template.headLinks);
173
+ this.headTitle = template.headTitle;
173
174
  }
174
175
  this.headLinks.push(...template.headLinks);
175
- this.headTitle = template.headTitle;
176
176
  const beginPosition = parsed.indexOf('<!--BEGIN-->');
177
177
  const endPosition = parsed.indexOf('<!--END-->');
178
178
  return (beginPosition > -1)
package/esm/template.js CHANGED
@@ -167,9 +167,9 @@ export class Template {
167
167
  : (this.filePath + sep + path));
168
168
  if (!this.doHeadLinks) {
169
169
  this.addLinks.push(...template.headLinks);
170
+ this.headTitle = template.headTitle;
170
171
  }
171
172
  this.headLinks.push(...template.headLinks);
172
- this.headTitle = template.headTitle;
173
173
  const beginPosition = parsed.indexOf('<!--BEGIN-->');
174
174
  const endPosition = parsed.indexOf('<!--END-->');
175
175
  return (beginPosition > -1)
package/package.json CHANGED
@@ -69,5 +69,5 @@
69
69
  "test": "jest"
70
70
  },
71
71
  "types": "./esm/template.d.ts",
72
- "version": "0.0.31"
72
+ "version": "0.0.32"
73
73
  }