@travetto/email-compiler 3.4.0-rc.3 → 3.4.0-rc.5

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": "@travetto/email-compiler",
3
- "version": "3.4.0-rc.3",
3
+ "version": "3.4.0-rc.5",
4
4
  "description": "Email compiling module",
5
5
  "keywords": [
6
6
  "email",
@@ -26,12 +26,12 @@
26
26
  "directory": "module/email-compiler"
27
27
  },
28
28
  "dependencies": {
29
- "@travetto/base": "^3.4.0-rc.3",
30
- "@travetto/config": "^3.4.0-rc.3",
31
- "@travetto/di": "^3.4.0-rc.3",
32
- "@travetto/email": "^3.4.0-rc.3",
33
- "@travetto/image": "^3.4.0-rc.3",
34
- "@travetto/worker": "^3.4.0-rc.3",
29
+ "@travetto/base": "^3.4.0-rc.5",
30
+ "@travetto/config": "^3.4.0-rc.5",
31
+ "@travetto/di": "^3.4.0-rc.5",
32
+ "@travetto/email": "^3.4.0-rc.5",
33
+ "@travetto/image": "^3.4.0-rc.5",
34
+ "@travetto/worker": "^3.4.0-rc.5",
35
35
  "@types/inline-css": "^3.0.2",
36
36
  "html-entities": "^2.4.0",
37
37
  "inline-css": "^4.0.2",
@@ -39,7 +39,7 @@
39
39
  "sass": "^1.69.5"
40
40
  },
41
41
  "peerDependencies": {
42
- "@travetto/cli": "^3.4.0-rc.4"
42
+ "@travetto/cli": "^3.4.0-rc.6"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "@travetto/cli": {
package/src/compiler.ts CHANGED
@@ -129,7 +129,7 @@ export class EmailCompiler {
129
129
  const stream = new Queue<WatchEvent>([], ctrl.signal);
130
130
 
131
131
  // watch resources
132
- this.#watchFolders(all.paths, ev => stream.add(ev), ctrl.signal);
132
+ this.#watchFolders(all.searchPaths, ev => stream.add(ev), ctrl.signal);
133
133
 
134
134
  // Watch template files
135
135
  new CompilerClient().onFileChange(ev => {
package/src/util.ts CHANGED
@@ -191,7 +191,7 @@ export class EmailCompileUtil {
191
191
  }
192
192
 
193
193
  if (styles.length) {
194
- const compiled = await this.compileSass({ data: styles.join('\n') }, resource.paths);
194
+ const compiled = await this.compileSass({ data: styles.join('\n') }, resource.searchPaths);
195
195
 
196
196
  // Remove all unused styles
197
197
  const finalStyles = await this.pruneCss(html, compiled);