@maizzle/framework 5.3.0 → 5.3.1

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.3.0",
3
+ "version": "5.3.1",
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",
@@ -97,7 +97,7 @@
97
97
  "ws": "^8.18.0"
98
98
  },
99
99
  "devDependencies": {
100
- "@biomejs/biome": "2.2.6",
100
+ "@biomejs/biome": "2.2.7",
101
101
  "@types/js-beautify": "^1.14.3",
102
102
  "@types/markdown-it": "^14.1.2",
103
103
  "@vitest/coverage-v8": "^3.0.4",
@@ -258,7 +258,9 @@ export default async (config = {}) => {
258
258
  staticFiles = [staticFiles]
259
259
  }
260
260
 
261
- const staticFilesSourcePaths = staticFiles.flatMap((definition) => definition.source)
261
+ const staticFilesSourcePaths = staticFiles
262
+ .flatMap((definition) => definition.source)
263
+ .filter(p => typeof p === 'string')
262
264
 
263
265
  /**
264
266
  * Global watcher
@@ -273,7 +275,7 @@ export default async (config = {}) => {
273
275
  '**/*.css',
274
276
  ...staticFilesSourcePaths,
275
277
  ...get(config, 'server.watch', []),
276
- ])
278
+ ].filter(p => typeof p === 'string'))
277
279
 
278
280
  async function globalPathsHandler(file, eventType) {
279
281
  // Update express.static to serve new files