@jk2908/solas 0.3.3 → 0.3.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.4 - 2026-04-23
4
+
5
+ - Fixed `hydrateRoot` missing named export error in the browser by removing the erroneous `optimizeDeps.exclude` for `react-dom/client`. Excluding it prevented Vite from pre-bundling the CommonJS wrapper, so the named export was never exposed to browser ESM consumers.
6
+
3
7
  ## 0.3.3 - 2026-04-23
4
8
 
5
9
  - Fixed HTML missing-route rendering when Solas is installed from npm by serialising `HttpException` and `Error` values into transport-safe objects before they cross the RSC payload boundary, preserving the expected 404 flow instead of crashing during SSR.
package/dist/index.js CHANGED
@@ -189,13 +189,6 @@ function solas(c) {
189
189
  ...(viteConfig.resolve.alias ?? {}),
190
190
  '.solas': path.resolve(process.cwd(), Solas.Config.GENERATED_DIR),
191
191
  };
192
- viteConfig.optimizeDeps ??= {};
193
- viteConfig.optimizeDeps.exclude = [
194
- ...(Array.isArray(viteConfig.optimizeDeps.exclude)
195
- ? viteConfig.optimizeDeps.exclude
196
- : []),
197
- 'react-dom/client',
198
- ];
199
192
  },
200
193
  configureServer(server) {
201
194
  logger.info('[configureServer]', `Watching for changes in ./${Solas.Config.APP_DIR}...`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jk2908/solas",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "A React Server Components meta-framework powered by Vite",
5
5
  "keywords": [
6
6
  "framework",