nukejs 0.0.24 → 0.0.25

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.
@@ -431,8 +431,8 @@ function minifyHtml(h: string): string {
431
431
  });
432
432
  const minified = withoutPres
433
433
  .replace(/<!--(?!(n-head|\\/n-head|n-body-scripts|\\/n-body-scripts|n-pre-))[\\s\\S]*?-->/g, '')
434
- .replace(/>\\s+</g, '> <')
435
- .replace(/\\s*\\n\\s*/g, '')
434
+ .replace(/\\s*\\n\\s*/g, ' ')
435
+ .replace(/>\\s+</g, '><')
436
436
  .trim();
437
437
  return pres.length === 0
438
438
  ? minified
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nukejs",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "A minimal, opinionated full-stack React framework on Node.js that server-renders everything and hydrates only interactive parts.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",