@maizzle/framework 5.0.0-beta.28 → 5.0.0-beta.29

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": "@maizzle/framework",
3
- "version": "5.0.0-beta.28",
3
+ "version": "5.0.0-beta.29",
4
4
  "description": "Maizzle is a framework that helps you quickly build HTML emails with Tailwind CSS.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -159,11 +159,11 @@ export default async (config = {}) => {
159
159
  relativePath = path.relative('.', file)
160
160
  }
161
161
 
162
- const targetPath = path.join(config.build.output.path, relativePath)
162
+ const targetPath = path.join(buildOutputPath, relativePath)
163
163
  await copyFileAsync(file, targetPath)
164
164
  }
165
165
  } catch (error) {
166
- console.error(`Error while processing pattern ${pattern}: `, err);
166
+ console.error('Error while processing pattern:', error)
167
167
  }
168
168
 
169
169
  /**
@@ -181,7 +181,9 @@ export default async (config = {}) => {
181
181
  /**
182
182
  * Create a list of templates to compile
183
183
  */
184
- const extensions = outputExtensions.size > 1 ? `{${[...outputExtensions].join(',')}}` : 'html'
184
+ const extensions = outputExtensions.size > 1
185
+ ? `{${[...outputExtensions].join(',')}}`
186
+ : [...outputExtensions][0] || 'html'
185
187
 
186
188
  const templatesToCompile = await fg.glob(
187
189
  path.join(